summaryrefslogtreecommitdiff
path: root/doc/apk-fetch.8.scd
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-01-07 22:41:30 -0500
committerTimo Teräs <timo.teras@iki.fi>2020-01-26 09:01:26 +0200
commitf3412acb853ddbd330c5fe6da93e052a40c0a3d4 (patch)
tree975f43d06435cdc79678c6ec74026d92bacc80a0 /doc/apk-fetch.8.scd
parent44a79db90e234c7869b012d07769790aab866457 (diff)
downloadapk-tools-f3412acb853ddbd330c5fe6da93e052a40c0a3d4.tar.gz
apk-tools-f3412acb853ddbd330c5fe6da93e052a40c0a3d4.tar.bz2
apk-tools-f3412acb853ddbd330c5fe6da93e052a40c0a3d4.tar.xz
apk-tools-f3412acb853ddbd330c5fe6da93e052a40c0a3d4.zip
add apk-fetch(8)
Diffstat (limited to 'doc/apk-fetch.8.scd')
-rw-r--r--doc/apk-fetch.8.scd41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/apk-fetch.8.scd b/doc/apk-fetch.8.scd
new file mode 100644
index 0000000..342d0c7
--- /dev/null
+++ b/doc/apk-fetch.8.scd
@@ -0,0 +1,41 @@
+apk-fetch(8)
+
+# NAME
+
+apk fetch - download packages from global repositories to a local directory
+
+# SYNOPSIS
+
+*apk fetch* [<_options_>...] _packages_...
+
+# DESCRIPTION
+
+*apk fetch* downloads the requested packages from the configured package
+repositories (see *apk-repositories*(5)) to a local directory. The current
+working directory is used as the destination directory unless *-o* is
+specified.
+
+# OPTIONS
+
+*-L, --link*
+ Create hard links if possible.
+
+*-o, --output* _DIR_
+ Write the downloaded file(s) to _DIR_.
+
+*-R, --recursive*
+ Fetch packages and all of their dependencies.
+
+*-s, --stdout*
+ Dump the .apk file(s) to stdout.
+
+ *Note*: this option is incompatible with *-o*, *-R*, and the global
+ *--progress* option.
+
+*--simulate*
+ Simulate the requested operation without making any changes.
+
+# AUTHORS
+
+Natanael Copa <ncopa@alpinelinux.org>++
+Timo Teräs <_timo.teras@iki.fi_>