File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1558,10 +1558,10 @@ You can also provide the value from a file or stdin:
15581558
15591559 # Provide the value from a file
15601560 $ echo '{"uid1":null,"uid2":1000,"uid3":["bob"]}' > /tmp/example-value
1561- $ sops set ~/git/svc/sops/example.yaml --value-file '["an_array"][1]' /tmp/example-value
1561+ $ sops set --value-file ~/git/svc/sops/example.yaml '["an_array"][1]' /tmp/example-value
15621562
15631563 # Provide the value from stdin
1564- $ echo '{"uid1":null,"uid2":1000,"uid3":["bob"]}' | sops set ~/git/svc/sops/example.yaml --value-stdin '["an_array"][1]'
1564+ $ echo '{"uid1":null,"uid2":1000,"uid3":["bob"]}' | sops set --value-stdin ~/git/svc/sops/example.yaml '["an_array"][1]'
15651565
15661566Unset a sub-part in a document tree
15671567~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments