aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ns
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-ns')
-rwxr-xr-xbin/ak-ns2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ak-ns b/bin/ak-ns
index 4e08cfc..01c8b3a 100755
--- a/bin/ak-ns
+++ b/bin/ak-ns
@@ -31,6 +31,7 @@
## -rp, --resolve-key-proof <key> Resolves value from key and provides
## an akfs_map_v3 to clear signed proof
## -rj, --resolve-key-json <key> Resolves a key to a JSON format
+## -ra, --resolve-all Resolve all reachable keys
## -p, --publish <key> <value> Publishes value to key
## -pn, --publish2name <name> <value> Publishes value to name
## -pz, --publish-zchain Publishes zchain
@@ -58,6 +59,7 @@ then
-rk | --resolve-key) shift; _ak_ns_resolve_from_key $1; exit;;
-rp | --resolve-key-proof) shift; _ak_ns_resolve_from_key_with_proof $1; exit;;
-rj | --resolve-key-json) shift; _ak_ns_resolve_from_key_with_proof_json $1; exit;;
+ -ra | --resolve-all) _ak_ns_resolve_all_keys; exit;;
-ek | --encode-key) shift; _ak_ns_encode_key $1; exit;;
-dk | --decode-key) shift; _ak_ns_decode_key $1; exit;;
-p | --publish) shift; _ak_ns_publish $1 $2; exit;;