1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 14:05:41 -07:00

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 ## Usage
```sh ```sh
➜ kiss
-> kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg] -> kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]
-> alternatives: List and swap to alternatives -> alternatives: List and swap to alternatives
-> build: Build a package -> build: Build a package
-> checksum: Generate checksums -> checksum: Generate checksums
-> env: List kiss settings
-> install: Install a package -> install: Install a package
-> list: List installed packages -> list: List installed packages
-> remove: Remove a package -> remove: Remove a package

4
kiss
View File

@ -1359,16 +1359,18 @@ args() {
done done
;; ;;
e|env) env | grep -F KISS_ ;;
l|list) pkg_list "$@" ;; l|list) pkg_list "$@" ;;
u|update) pkg_updates ;; u|update) pkg_updates ;;
s|search) for pkg; do pkg_find "$pkg" all; done ;; 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|'') h|help|-h|--help|'')
log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]' log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]'
log 'alternatives: List and swap to alternatives' log 'alternatives: List and swap to alternatives'
log 'build: Build a package' log 'build: Build a package'
log 'checksum: Generate checksums' log 'checksum: Generate checksums'
log 'env: List kiss settings'
log 'install: Install a package' log 'install: Install a package'
log 'list: List installed packages' log 'list: List installed packages'
log 'remove: Remove a package' log 'remove: Remove a package'

2
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 -> alternatives: List and swap to alternatives
-> build: Build a package -> build: Build a package
-> checksum: Generate checksums -> checksum: Generate checksums
-> env: List kiss settings
-> install: Install a package -> install: Install a package
-> list: List installed packages -> list: List installed packages
-> remove: Remove a package -> remove: Remove a package
-> search: Search for a package -> search: Search for a package
-> update: Check for updates -> update: Check for updates
-> version: Package manager version -> version: Package manager version
. .
.fi .fi
. .