1
0
mirror of https://github.com/limosek/zaf.git synced 2025-12-16 07:27:03 +01:00

Repaired touch variants

Added cache-list command
This commit is contained in:
Lukas Macura
2016-04-20 09:39:24 +02:00
parent ca3962ba05
commit 76352d7d12
5 changed files with 30 additions and 21 deletions

7
zaf
View File

@@ -69,6 +69,9 @@ case $1 in
cache-clean)
zaf_cache_clean
;;
cache-list)
zaf_cache_list
;;
version)
echo "$ZAF_VERSION<git $ZAF_GITBRANCH>"
@@ -95,9 +98,6 @@ agent-config)
| zaf_far '{PLUGINDIR}' "${plugindir}" >${ZAF_AGENT_CONFIGD}/zaf_${plugin}.conf
done
;;
check-agent-config)
zaf_check_agent_config
;;
###### Plugins related commands
update)
@@ -443,6 +443,7 @@ api)
zaf_hlp "$0 self-upgrade" "To self-upgrade zaf"
zaf_hlp "$0 self-remove" "To self-remove zaf and its config"
zaf_hlp "$0 cache-clean" "To remove all entries from cache"
zaf_hlp "$0 cache-list" "To show all entries in cache"
echo
[ -n "$1" ] && zaf_err "Bad command '$1'!"
;;