cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit e8d2b358c12ecad0c9affd5e336839d1e61e8b02
parent eb1a62a0fc2b1ad21fe6e40ef677c205b0524123
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 24 Jul 2020 13:26:12 +0300

tools: add docstrings

Diffstat:
Mtools/cpt-alternatives | 1+
Mtools/cpt-build | 1+
Mtools/cpt-checksum | 1+
Mtools/cpt-download | 1+
Mtools/cpt-fetch | 1+
Mtools/cpt-install | 1+
Mtools/cpt-list | 1+
Mtools/cpt-remove | 1+
Mtools/cpt-search | 3+++
Mtools/cpt-update | 1+
10 files changed, 12 insertions(+), 0 deletions(-)

diff --git 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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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