diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2025-03-14 01:11:18 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2025-03-14 01:11:18 +0200 |
commit | 95434f4629cdcbdd322993ebb80425e2dfad976c (patch) | |
tree | 7eb1cea376ade61b87d93ad66668811a87ffb227 /bin/ak-zchain | |
parent | d371d6cbc37ac91193043547986617e41491cbd7 (diff) | |
download | arching-kaos-tools-95434f4629cdcbdd322993ebb80425e2dfad976c.tar.gz arching-kaos-tools-95434f4629cdcbdd322993ebb80425e2dfad976c.tar.bz2 arching-kaos-tools-95434f4629cdcbdd322993ebb80425e2dfad976c.zip |
new flag: --output-types, outputs type of each zblock on your chain
Diffstat (limited to 'bin/ak-zchain')
-rwxr-xr-x | bin/ak-zchain | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ak-zchain b/bin/ak-zchain index 0f1a29d..212b606 100755 --- a/bin/ak-zchain +++ b/bin/ak-zchain @@ -51,6 +51,8 @@ ## --crawl-remote-ipfs Crawls a remote zchain ## --crawl-remote-ipns Crawls a remote zchain from ipns key ## --get-latest Returns the latest zblock from your zchain +## --output-types Outputs the module (type) each zblock was +## created ## fullprogrampath="$(realpath $0)" PROGRAM=$(basename $0) @@ -75,6 +77,7 @@ if [ ! -z $1 ]; then --crawl-remote-ipfs) _ak_zchain_crawl_remote_ipfs $2; exit;; --crawl-remote-ipns) _ak_zchain_crawl_remote_ipns $2; exit;; --get-latest) _ak_zchain_get_latest && printf '\n'; exit;; + --output-types)shift; _ak_zchain_output_types $1; exit;; * ) _ak_usage;; esac else _ak_usage |