diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2025-07-22 02:29:12 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2025-07-22 02:29:12 +0300 |
commit | de3fab3c70befe6920d5436ce0bef62f3e70ba29 (patch) | |
tree | 63af5d628c62c846a436d006674ddc66f80137ea /bin | |
parent | fd12421d9e9589cc8d68a8a64bc2630266e3288f (diff) | |
download | arching-kaos-tools-de3fab3c70befe6920d5436ce0bef62f3e70ba29.tar.gz arching-kaos-tools-de3fab3c70befe6920d5436ce0bef62f3e70ba29.tar.bz2 arching-kaos-tools-de3fab3c70befe6920d5436ce0bef62f3e70ba29.zip |
[api+ns] ns tool outputs JSON format and it's used for the API
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ak-ns | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,6 +30,7 @@ ## -rk, --resolve-key <key> Resolves value from key ## -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 ## -p, --publish <key> <value> Publishes value to key ## -pn, --publish2name <name> <value> Publishes value to name ## -pz, --publish-zchain Publishes zchain @@ -56,6 +57,7 @@ then -rn | --resolve-name) shift; _ak_ns_resolve_from_name $1; exit;; -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;; -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;; |