diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2025-07-22 05:43:28 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2025-07-22 05:43:28 +0300 |
commit | 39f6332eee8057dc5ae5f7975e86f3652f603e6b (patch) | |
tree | 8525ba8709f824a050c22c58d4760bc49449d477 /bin/ak-ns | |
parent | 8b321eb89735e9e5612cbca591fcc94c0f9a96d2 (diff) | |
download | arching-kaos-tools-39f6332eee8057dc5ae5f7975e86f3652f603e6b.tar.gz arching-kaos-tools-39f6332eee8057dc5ae5f7975e86f3652f603e6b.tar.bz2 arching-kaos-tools-39f6332eee8057dc5ae5f7975e86f3652f603e6b.zip |
[ns] -ra flag to resolve all reachable keys
* Deprecates IPNS
* Changed the way IPNS keys are resolved
* Changed the way IPNS keys are published
* Changed the way configuration publishing is happening
Diffstat (limited to 'bin/ak-ns')
-rwxr-xr-x | bin/ak-ns | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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;; |