diff options
-rw-r--r-- | ContainerFile | 3 | ||||
-rw-r--r-- | README | 17 | ||||
-rwxr-xr-x | lib/_ak_zchain | 9 |
3 files changed, 19 insertions, 10 deletions
diff --git a/ContainerFile b/ContainerFile index fd7d085..4d72ecc 100644 --- a/ContainerFile +++ b/ContainerFile @@ -1,6 +1,7 @@ FROM fedora:latest -RUN dnf update -y && dnf install which git screen pinentry make -y +RUN dnf update -y && dnf install which git screen pinentry make gcc -y RUN dnf install -y curl wget jq nodejs +RUN dnf install -y nano COPY . /root/arching-kaos-tools RUN bash -c 'cd /root/arching-kaos-tools && /root/arching-kaos-tools/install.sh' RUN git config --global user.email "kaos@kaos.kaos" @@ -155,26 +155,29 @@ Add is nice, you can add an already existing file directly. `news` is the second module after `mixtape`. Both modules need refactoring but they work at a level that someone can be productive with these tools. -### Explore chains ( `ak-enter` ) +### Explore chains ( `ak-zchain --crawl` ) You can view your zchain as a JSON object using `enter`. There are some flags in order to either view other zchains or change the depth of view ( includes or ignores data object and action ). ``` console -$ ak enter -h -ak-enter - Crawl an arching kaos chain -====================================== -ak-enter [-N | --no-verify] [-l | --limit <number>] [zblock] -ak-enter [-N | --no-verify] [-l | --limit <number>] -n <zchain> +$ ak zchain --crawl -h +ak zchain --crawl [-N | --no-verify] [-l | --limit <number>] [zblock] +ak zchain --crawl [-N | --no-verify] [-l | --limit <number>] -n <zchain> Usage: + --help, -h Print this help and exit + --chain <ipns-link>, -n <ipns-link> Crawl specified chain + --no-verify, -N Don't verify signatures + <ipfs-link> Specify IPFS CID for entrance Note that combined flags don't work for now -Running with no flags crawls your chain based on AK_ZLATEST environment variable +Running with no flags crawls your chain based on AK_ZLATEST environment +variable ``` Podman (or Docker) diff --git a/lib/_ak_zchain b/lib/_ak_zchain index 5dbcf62..147f8d5 100755 --- a/lib/_ak_zchain +++ b/lib/_ak_zchain @@ -128,9 +128,13 @@ _ak_zchain_crawl(){ while [ "$#" ]; do case "$1" in -h | --help) - printf " + printf "Zchain crawler +============== + ak zchain --crawl [-N | --no-verify] [-l | --limit <number>] [zblock] + ak zchain --crawl [-N | --no-verify] [-l | --limit <number>] -n <zchain> + Usage: --help, -h Print this help and exit @@ -143,7 +147,8 @@ Usage: Note that combined flags don't work for now Running with no flags crawls your chain based on AK_ZLATEST environment -variable" +variable +" exit 1 ;; -l | --limit) |