Skip to content
Newer
Older
100755 14 lines (12 sloc) 332 Bytes
dfda899 @substack commands
authored
1 #!/bin/bash
4ae2a24 @substack rebase fleet commands to the bindir
authored
2 dirname=$(dirname "$_")
3
f05e5d8 @substack stubbed out help functionality
authored
4 if test -z "$*"; then
4ae2a24 @substack rebase fleet commands to the bindir
authored
5 $dirname/fleet-help
6 elif test "$*" = '-v' || test "$*" = '--version'; then
7 $dirname/fleet-version
8 elif test -f "$dirname/fleet-$1"; then
9 $dirname/fleet-$*
f05e5d8 @substack stubbed out help functionality
authored
10 else
4ae2a24 @substack rebase fleet commands to the bindir
authored
11 echo "Fleet command \"$1\" not recognized."
12 echo 'Type `fleet help` to see a list of all commands.'
f05e5d8 @substack stubbed out help functionality
authored
13 fi
Something went wrong with that request. Please try again.