diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-10 17:30:41 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-10 17:30:41 +0300 |
commit | b587c1d94ade7723bcda82d6befc64adc7fc088d (patch) | |
tree | 3111e75201da240599e141e143b80e0ec5be68b3 /bin/ak-zchain | |
parent | 3867120e959a34d3b27422864171d385de76b478 (diff) | |
download | arching-kaos-tools-b587c1d94ade7723bcda82d6befc64adc7fc088d.tar.gz arching-kaos-tools-b587c1d94ade7723bcda82d6befc64adc7fc088d.tar.bz2 arching-kaos-tools-b587c1d94ade7723bcda82d6befc64adc7fc088d.zip |
(new flags) ak zchain: --crawl-[self]|[remote-ipfs]|[remote-ipns]
Diffstat (limited to 'bin/ak-zchain')
-rwxr-xr-x | bin/ak-zchain | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/ak-zchain b/bin/ak-zchain index 2a60b37..c2ecbc6 100755 --- a/bin/ak-zchain +++ b/bin/ak-zchain @@ -34,6 +34,11 @@ ## ## --calculate-size Calculates the size of a zchain ## +## --crawl-self Crawls the local zchain +## +## --crawl-remote-ipfs Crawls a remote zchain +## +## --crawl-remote-ipns Crawls a remote zchain from ipns key ## fullprogrampath="$(realpath $0)" PROGRAM=$(basename $0) @@ -54,6 +59,9 @@ if [ ! -z $1 ]; then --extract-cids) _ak_zchain_extract_cids $2; exit;; --extract-data-cids) _ak_zchain_extract_data_cids $2; exit;; --calculate-size) _ak_zchain_calculate_size $2; exit;; + --crawl-self) _ak_zchain_crawl_self; exit;; + --crawl-remote-ipfs) _ak_zchain_crawl_remote_ipfs $2; exit;; + --crawl-remote-ipns) _ak_zchain_crawl_remote_ipns $2; exit;; * ) _ak_usage;; esac else _ak_usage |