aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-07-24 10:26:11 +0000
committermerakor <cem@ckyln.com>2020-07-24 10:26:11 +0000
commit7d9a7204b2f52279927168191922c2229172cd11 (patch)
tree2e1ac46e7b927c7d782d1c412ef679f456e3365a /tools
parented0529ef9320283436237cd774cc2bc08255597e (diff)
downloadcpt-7d9a7204b2f52279927168191922c2229172cd11.tar.gz
tools: add docstrings
FossilOrigin-Name: 5d093c4c773fc21090e45f8b8da057e591cb139a415525522deee9a8f65a0afc
Diffstat (limited to 'tools')
-rwxr-xr-xtools/cpt-alternatives1
-rwxr-xr-xtools/cpt-build1
-rwxr-xr-xtools/cpt-checksum1
-rwxr-xr-xtools/cpt-download1
-rwxr-xr-xtools/cpt-fetch1
-rwxr-xr-xtools/cpt-install1
-rwxr-xr-xtools/cpt-list1
-rwxr-xr-xtools/cpt-remove1
-rwxr-xr-xtools/cpt-search3
-rwxr-xr-xtools/cpt-update1
10 files changed, 12 insertions, 0 deletions
diff --git a/tools/cpt-alternatives b/tools/cpt-alternatives
index 5b0007e..a65c2fc 100755
--- a/tools/cpt-alternatives
+++ b/tools/cpt-alternatives
@@ -1,4 +1,5 @@
#!/bin/sh -ef
+# List and swap to alternatives
# shellcheck disable=1091
if command -v cpt-lib >/dev/null; then . cpt-lib; else . ../lib.sh; fi
diff --git a/tools/cpt-build b/tools/cpt-build
index 40ae4fd..ac4427b 100755
--- a/tools/cpt-build
+++ b/tools/cpt-build
@@ -1,4 +1,5 @@
#!/bin/sh
+# Build a package
# shellcheck disable=1091
if command -v cpt-lib >/dev/null; then . cpt-lib; else . ../lib.sh; fi
diff --git a/tools/cpt-checksum b/tools/cpt-checksum
index c9651bf..cb01d89 100755
--- a/tools/cpt-checksum
+++ b/tools/cpt-checksum
@@ -1,4 +1,5 @@
#!/bin/sh -ef
+# Generate checksums
# shellcheck disable=1091
if command -v cpt-lib >/dev/null; then . cpt-lib; else . ../lib.sh; fi
diff --git a/tools/cpt-download b/tools/cpt-download
index 77087b9..cd73ba1 100755
--- a/tools/cpt-download
+++ b/tools/cpt-download
@@ -1,4 +1,5 @@
#!/bin/sh -ef
+# Download sources for the given package
# shellcheck disable=1091
if command -v cpt-lib >/dev/null; then . cpt-lib; else . ../lib.sh; fi
diff --git a/tools/cpt-fetch b/tools/cpt-fetch
index e244b13..b0dbc1d 100755
--- a/tools/cpt-fetch
+++ b/tools/cpt-fetch
@@ -1,4 +1,5 @@
#!/bin/sh -ef
+# Fetch repositories
# shellcheck disable=1091
if command -v cpt-lib >/dev/null; then . cpt-lib; else . ../lib.sh; fi
diff --git a/tools/cpt-install b/tools/cpt-install
index 9c7a3c5..77c1de0 100755
--- a/tools/cpt-install
+++ b/tools/cpt-install
@@ -1,4 +1,5 @@
#!/bin/sh
+# Install a package
# shellcheck disable=1091
if command -v cpt-lib >/dev/null; then . cpt-lib; else . ../lib.sh; fi
diff --git a/tools/cpt-list b/tools/cpt-list
index d248efc..ca87ef6 100755
--- a/tools/cpt-list
+++ b/tools/cpt-list
@@ -1,4 +1,5 @@
#!/bin/sh -ef
+# List installed packages
# shellcheck disable=1091
if command -v cpt-lib >/dev/null; then . cpt-lib; else . ../lib.sh; fi
diff --git a/tools/cpt-remove b/tools/cpt-remove
index 0263e4e..803fd36 100755
--- a/tools/cpt-remove
+++ b/tools/cpt-remove
@@ -1,4 +1,5 @@
#!/bin/sh -ef
+# Remove a package
# shellcheck disable=1091
if command -v cpt-lib >/dev/null; then . cpt-lib; else . ../lib.sh; fi
diff --git a/tools/cpt-search b/tools/cpt-search
index 1e48f97..17f45a9 100755
--- a/tools/cpt-search
+++ b/tools/cpt-search
@@ -1,4 +1,7 @@
#!/bin/sh -ef
+# Search for a package
+
+# shellcheck disable=1091
if command -v cpt-lib >/dev/null; then . cpt-lib; else . ../lib.sh; fi
# By default we are showing all instances of a package. This value can be unset
diff --git a/tools/cpt-update b/tools/cpt-update
index 77be11d..b925e1a 100755
--- a/tools/cpt-update
+++ b/tools/cpt-update
@@ -1,4 +1,5 @@
#!/bin/sh -ef
+# Check for updates
# shellcheck disable=1091
if command -v cpt-lib >/dev/null; then . cpt-lib; else . ../lib.sh; fi