aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-19 18:22:43 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-19 18:22:43 +0000
commitced8e308a25cb04f73bc77a3fa1dd67fcbb626c8 (patch)
treea9366bbb6f71704e98f36e9cf8a7cacb8f1c659e
parentbf9779f25c07d5a4f594aab2ea8d37638ea53dfc (diff)
downloadcpt-ced8e308a25cb04f73bc77a3fa1dd67fcbb626c8.tar.gz
kiss: Added kiss env
FossilOrigin-Name: c0e6575da3c32ec6845a9395f6839accb415c63d8331c9b6117ecc9c6ac6e971
-rw-r--r--README.md2
-rwxr-xr-xkiss4
-rw-r--r--kiss.14
3 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 35955f2..abbc93f 100644
--- a/README.md
+++ b/README.md
@@ -19,11 +19,11 @@ Read: https://k1ss.org/guidestones.txt
## Usage
```sh
-➜ kiss
-> kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]
-> alternatives: List and swap to alternatives
-> build: Build a package
-> checksum: Generate checksums
+-> env: List kiss settings
-> install: Install a package
-> list: List installed packages
-> remove: Remove a package
diff --git a/kiss b/kiss
index b3c359b..e56646d 100755
--- a/kiss
+++ b/kiss
@@ -1359,16 +1359,18 @@ args() {
done
;;
+ e|env) env | grep -F KISS_ ;;
l|list) pkg_list "$@" ;;
u|update) pkg_updates ;;
s|search) for pkg; do pkg_find "$pkg" all; done ;;
- v|version) log kiss 1.6.0 ;;
+ v|version) log kiss 1.6.1 ;;
h|help|-h|--help|'')
log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]'
log 'alternatives: List and swap to alternatives'
log 'build: Build a package'
log 'checksum: Generate checksums'
+ log 'env: List kiss settings'
log 'install: Install a package'
log 'list: List installed packages'
log 'remove: Remove a package'
diff --git a/kiss.1 b/kiss.1
index 07f848c..453b4c6 100644
--- a/kiss.1
+++ b/kiss.1
@@ -13,12 +13,14 @@ Tiny and straightforward package manager for KISS written in POSIX sh.
-> alternatives: List and swap to alternatives
-> build: Build a package
-> checksum: Generate checksums
+-> env: List kiss settings
-> install: Install a package
-> list: List installed packages
-> remove: Remove a package
-> search: Search for a package
-> update: Check for updates
-> version: Package manager version
+
.
.fi
.
@@ -188,7 +190,7 @@ export CMAKE_GENERATOR=
.
.nf
-When a package with conflicts is installed the conflicting
+When a package with conflicts is installed the conflicting
files will be added as "choices" to the alternatives system.
Afterwards, running kiss a/kiss alternatives will list all of