aboutsummaryrefslogtreecommitdiff
path: root/modules/roadmap
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-09 06:52:03 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-09 06:52:03 +0300
commitba1173c9ec87b14a6ba6772d5ebfaafb81c7f888 (patch)
tree38c4c4972844d8616f220aa65e00b265ff7945ec /modules/roadmap
parent1a572d674b2c94bbe5b094f563c4875c77575227 (diff)
downloadarching-kaos-tools-ba1173c9ec87b14a6ba6772d5ebfaafb81c7f888.tar.gz
arching-kaos-tools-ba1173c9ec87b14a6ba6772d5ebfaafb81c7f888.tar.bz2
arching-kaos-tools-ba1173c9ec87b14a6ba6772d5ebfaafb81c7f888.zip
Refactoring
Diffstat (limited to 'modules/roadmap')
-rwxr-xr-xmodules/roadmap/main.sh35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/roadmap/main.sh b/modules/roadmap/main.sh
new file mode 100755
index 0000000..a30894a
--- /dev/null
+++ b/modules/roadmap/main.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+echo "$(basename $0) - Not implemented"
+exit 1
+
+title(){
+ echo "AK Roadmap tool"
+}
+
+usage(){
+ title
+}
+
+search(){
+ cd $HOME/projects
+ PRJS="$(ls -1 .)"
+ for prj in $PRJS
+ do
+ if [ -f $prj/ROADMAP.md ];
+ then
+ echo " - Roadmap found in $prj"
+ fi
+ done
+}
+
+if [ ! -z $1 ];
+then
+ case $1 in
+ -h | --help) usage; exit;;
+ search) search; exit;;
+ *) usage; exit;;
+ esac
+else
+ usage
+ exit 0
+fi