Skip to content

Commit 5f6b074

Browse files
authored
use ds in usage examples (#37)
1 parent 8cf6656 commit 5f6b074

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,24 +77,24 @@ The CLI is in early development (`v0.1.x`) — expect rapid iteration and the oc
7777
`dotsec` has four primary functions:
7878
- store secrets, along with an identifier (a "key")
7979
```sh
80-
cargo run -- put molly weasley-family-password@#$%
80+
ds put molly super-secret-weasley-info
8181
```
8282
- retrieve secrets, using the associated key
8383
```sh
84-
cargo run -- get molly
85-
# stdout: `weasley-family-password@#$%`
84+
ds get molly
85+
# stdout: `super-secret-weasley-info`
8686
```
8787
- list all existing keys
8888
```sh
89-
cargo run -- list
89+
ds list
9090
# stdout: `molly`
9191
```
9292
- delete secrets, using the associated key
9393
```sh
94-
cargo run -- delete molly -n # dry-run mode
94+
ds delete molly -n # dry-run mode
9595
# stdout: `would delete secret with name molly`
9696

97-
cargo run -- delete molly -f # forces deletion
97+
ds delete molly -f # forces deletion
9898
```
9999
because deletion is permanent, users are forced to run the command in either `dry-run` mode or `force` mode. Calling `delete` without either flag is an error.
100100

0 commit comments

Comments
 (0)