aboutsummaryrefslogtreecommitdiff
path: root/bin/ak
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-02 04:32:13 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-02 04:32:13 +0300
commitb61b49bd34514c9b3b7f5abca054ffb8351c119a (patch)
treef61047c3c0e6dc9580f358362ecbdc76acb49119 /bin/ak
parentff2f210d6662c7231547f04d04b5a9c8fb2cf706 (diff)
downloadarching-kaos-tools-b61b49bd34514c9b3b7f5abca054ffb8351c119a.tar.gz
arching-kaos-tools-b61b49bd34514c9b3b7f5abca054ffb8351c119a.tar.bz2
arching-kaos-tools-b61b49bd34514c9b3b7f5abca054ffb8351c119a.zip
Zero effect, preample to upcoming changes
Diffstat (limited to 'bin/ak')
-rwxr-xr-xbin/ak12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/ak b/bin/ak
index bb991a1..c64ee44 100755
--- a/bin/ak
+++ b/bin/ak
@@ -17,6 +17,7 @@ descriptionString="Arching Kaos CLI"
source $AK_LIBDIR/_ak_log
source $AK_LIBDIR/_ak_script
+source $AK_WORKDIR/rc
if [ $# -eq 0 ]
then
@@ -49,6 +50,17 @@ then
fi
subcmd="$(echo $* | sed -e 's/ /-/g')"
+
+# Add functionality for separate modules directory
+# case "$1" in
+# -m|--module)
+# shift
+# subcmd="modules/$(echo $* | sed -e 's/ /-/g')"
+# ;;
+# esac
+#
+# echo $subcmd
+
if [ -f "$AK_BINDIR/ak-$subcmd" ]
then
$(echo ak-$subcmd)