Commit Graph

4 Commits

Author SHA1 Message Date
Dylan Araps
6786d2ca0a
kiss: Unify usage outputs for all contrib scripts.
Seeing as how these utilities are now better integrated,
more effort should go into the overall interface between
what should be the "benchmark" or example kiss scripts.
2020-04-18 12:11:56 +03:00
Dylan Araps
fdf2775640
kiss: Integrate with user scripts.
kiss' help output will now include all executables found in $PATH
which begin with kiss-*. A comment string is optionally usable via
setting the second line of the script to a string.

Example:

...

This also means that 'kiss <script name>' is also possible now.
If I have a script in my $PATH called kiss-depends, I can now use
it via kiss with 'kiss depends'.
2020-04-18 11:39:37 +03:00
Cem Keylan
766e5d7089 kiss-repodepends: don't output the dependencies of installed package
kiss-repodepends did not honour the user's KISS_PATH and outputted
the last path it found. If the user has the package installed, the
last path will always be the system database, which defeats the whole
purpose of "repodepends". This patch will use the first path it finds,
which will be the user's preferred repository in the KISS_PATH.

Signed-off-by: Dylan Araps <dylan.araps@gmail.com>
2020-04-17 15:14:09 +03:00
Dylan Araps
49cfb7cac2
kiss: Merge kiss-utils and kiss 2019-10-30 10:51:48 +00:00