From 643284b0f06e7e52c3f436334067098c63c0bb82 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 23 Jul 2024 17:45:47 +0300 Subject: some runner for the lib --- bin/ak-coin | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 bin/ak-coin (limited to 'bin') 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 -- cgit v1.2.3