aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-roadmap
blob: ce0dc290f86ed6da580d88b43fbcf71fbac40bbf (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
        -h | --help) usage; exit;;
        search) search; exit;;
        *) usage; exit;;
    esac
else
    usage
    exit 0
fi