aboutsummaryrefslogtreecommitdiff
path: root/modules/roadmap/main.sh
blob: a30894a8aa2c585fa093492e0030d17b8f3967e7 (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
33
34
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