aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-roadmap
blob: f4db04df4a8ed1a444799b016447a803fe56dcf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
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
		help) usage; exit;;
		search) search; exit;;
		*) usage; exit;;
	esac
else
	usage
	exit 0
fi