You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,24 +77,24 @@ The CLI is in early development (`v0.1.x`) — expect rapid iteration and the oc
77
77
`dotsec` has four primary functions:
78
78
- store secrets, along with an identifier (a "key")
79
79
```sh
80
-
cargo run -- put molly weasley-family-password@#$%
80
+
ds put molly super-secret-weasley-info
81
81
```
82
82
- retrieve secrets, using the associated key
83
83
```sh
84
-
cargo run -- get molly
85
-
# stdout: `weasley-family-password@#$%`
84
+
ds get molly
85
+
# stdout: `super-secret-weasley-info`
86
86
```
87
87
- list all existing keys
88
88
```sh
89
-
cargo run -- list
89
+
ds list
90
90
# stdout: `molly`
91
91
```
92
92
- delete secrets, using the associated key
93
93
```sh
94
-
cargo run -- delete molly -n # dry-run mode
94
+
ds delete molly -n # dry-run mode
95
95
# stdout: `would delete secret with name molly`
96
96
97
-
cargo run -- delete molly -f # forces deletion
97
+
ds delete molly -f # forces deletion
98
98
```
99
99
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.
0 commit comments