diff options
-rwxr-xr-x | bin/ak-coin | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bin/ak-coin b/bin/ak-coin new file mode 100755 index 0000000..96f9f88 --- /dev/null +++ b/bin/ak-coin @@ -0,0 +1,28 @@ +#!/bin/bash +## +## Coin status +## +## Usage: +## +## -h, --help Prints this help message +## --stats Stats about the coin +## +fullprogrampath="$(realpath $0)" +PROGRAM=$(basename $0) +descriptionString="Coin status" + +# At least these +source $AK_LIBDIR/_ak_log +source $AK_LIBDIR/_ak_script +source $AK_LIBDIR/_ak_coin + +# Flags to run +if [ ! -z $1 ] +then + case $1 in + -h | --help) _ak_usage; exit;; + --stats) _ak_coin_stats; exit;; + * ) _ak_usage;; + esac +else _ak_usage +fi |