aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-coin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-23 17:45:47 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-23 17:45:47 +0300
commit643284b0f06e7e52c3f436334067098c63c0bb82 (patch)
treedf57de819fe03d1796860f1ba2a728f0cbe2af9f /bin/ak-coin
parent7a33ba00feb3fb4bc145db8be5e0e9f23cbcf58a (diff)
downloadarching-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/ak-coin')
-rwxr-xr-xbin/ak-coin28
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