kiss: Added kiss env

This commit is contained in:
Dylan Araps 2020-02-19 20:22:43 +02:00
parent 48b6fc1c61
commit 040145e118
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
3 changed files with 7 additions and 3 deletions

View File

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

4
kiss
View File

@ -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'

4
kiss.1
View File

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