We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, fetching a value from a nested hash requires a lot of --get:
--get
echo '{"level1":{"level2":{"level3":{"key":"value"}}}}' | \ jose fmt --json=- --object --get level1 --get level2 --get level3 --get key --unquote=-
It was nice if the keys could be concatenated so this can be written in a shorter form like:
echo '{"level1":{"level2":{"level3":{"key":"value"}}}}' | \ jose fmt --json=- --object --get level1.level2.level3.key --unquote=-
Bonus: Make the separator (currently: dot) configurable.
Related, it was nice if -U/--unwind could understand an optional repetition value, so (taken from clevis-encrypt-tang):
-U/--unwind
jwe="$(jose fmt -j "$jwe" -g protected -g clevis -g tang -q "$url" -s url -UUUUo-)"
could be written as
jwe="$(jose fmt -j "$jwe" -g protected -g clevis -g tang -q "$url" -s url -U4 -o-)"
PS: To make sure: This is not at all about short/long parameter names.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
fetching a value from a nested hash requires a lot of
--get
:It was nice if the keys could be concatenated so this can be written in a shorter form like:
Bonus: Make the separator (currently: dot) configurable.
Related, it was nice if
-U/--unwind
could understand an optional repetition value, so (taken from clevis-encrypt-tang):could be written as
PS: To make sure: This is not at all about short/long parameter names.
The text was updated successfully, but these errors were encountered: