summaryrefslogtreecommitdiff
path: root/src/xi.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-03 19:12:05 +0000
committerdavidovski <david@davidovski.xyz>2022-03-03 19:12:05 +0000
commit4e244fa843a2cb53a137dede7caa304422e13f5c (patch)
tree0cd66079a30b31aa71a358e9db69b6d976628261 /src/xi.sh
parent6bc227cbffd0caa08d382f56df48cbb34f2afc59 (diff)
added cache cleaningv1.1.0
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-xsrc/xi.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xi.sh b/src/xi.sh
index 3ae684a..39581e9 100755
--- a/src/xi.sh
+++ b/src/xi.sh
@@ -38,6 +38,8 @@ Available Commands:
download a .xipkg file
keyimport [name] [url]
import a key from a url
+ clean
+ clean cached files and data
search [query]
search the database for a package
@@ -153,6 +155,11 @@ else
set -o noglob
keyimport $@
;;
+ "clean")
+ shift
+ . ${LIBDIR}/remove.sh
+ clean $@
+ ;;
"list")
list
;;