summaryrefslogtreecommitdiff
path: root/src/xi.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-20 02:13:54 +0000
committerdavidovski <david@davidovski.xyz>2022-02-20 02:13:54 +0000
commite5bc87ffc368799685b9c9bf0e01db35ee974540 (patch)
tree322791eae090f5b6f3f821f6f09b83c5aa199561 /src/xi.sh
parent65940c0cc719311fbac5e11c81cce34563ea3f21 (diff)
added search functionality
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-xsrc/xi.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xi.sh b/src/xi.sh
index ea4f399..0311a56 100755
--- a/src/xi.sh
+++ b/src/xi.sh
@@ -44,6 +44,7 @@ done
. ${LIBDIR}/util.sh
. ${LIBDIR}/validate.sh
+. ${LIBDIR}/query.sh
. ${LIBDIR}/sync.sh
. ${LIBDIR}/install.sh
. ${LIBDIR}/get.sh
@@ -59,9 +60,12 @@ else
;;
"install" | "update")
shift
- $DO_SYNC && sync
install $@
;;
+ "search")
+ shift
+ search $@
+ ;;
*)
$DO_SYNC && sync
fetch $@