From 0d1777251dea7d35cd774518959b4377673e1cab Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 4 Jun 2024 18:07:39 +0300 Subject: Refactoring, modules directory introduced - All modules are now stored separately from the rest of the bin/ - You can run them now with `ak -m ` - Files affected: * bin/ak-articles -> modules/ak-articles * bin/ak-categories -> modules/ak-categories * bin/ak-comments -> modules/ak-comments * bin/ak-files -> modules/ak-files * bin/ak-folders -> modules/ak-folders * bin/ak-mixtapes -> modules/ak-mixtapes * bin/ak-news -> modules/ak-news * bin/ak-reference -> modules/ak-reference * bin/ak-repositories -> modules/ak-repositories * bin/ak-roadmap -> modules/ak-roadmap * bin/ak-todos -> modules/ak-todos --- modules/ak-roadmap | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 modules/ak-roadmap (limited to 'modules/ak-roadmap') diff --git a/modules/ak-roadmap b/modules/ak-roadmap new file mode 100755 index 0000000..a30894a --- /dev/null +++ b/modules/ak-roadmap @@ -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 -- cgit v1.2.3