aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-07-22 05:43:28 +0300
committerkaotisk <kaotisk@arching-kaos.org>2025-07-22 05:43:28 +0300
commit39f6332eee8057dc5ae5f7975e86f3652f603e6b (patch)
tree8525ba8709f824a050c22c58d4760bc49449d477 /bin
parent8b321eb89735e9e5612cbca591fcc94c0f9a96d2 (diff)
downloadarching-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')
-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;;