aboutsummaryrefslogtreecommitdiff
path: root/modules/roadmap/main.sh
blob: d20ea585ec1f95920325cf42d00af7a4d6fd3702 (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
#!/usr/bin/env 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