diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-07-23 17:45:47 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-07-23 17:45:47 +0300 |
commit | 643284b0f06e7e52c3f436334067098c63c0bb82 (patch) | |
tree | df57de819fe03d1796860f1ba2a728f0cbe2af9f /bin | |
parent | 7a33ba00feb3fb4bc145db8be5e0e9f23cbcf58a (diff) | |
download | arching-kaos-tools-643284b0f06e7e52c3f436334067098c63c0bb82.tar.gz arching-kaos-tools-643284b0f06e7e52c3f436334067098c63c0bb82.tar.bz2 arching-kaos-tools-643284b0f06e7e52c3f436334067098c63c0bb82.zip |
some runner for the lib
Diffstat (limited to 'bin')
-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 |