Skip to content

Commit 16f7496

Browse files
committed
doc(readme): mise env plugin
1 parent 8f64c3f commit 16f7496

1 file changed

Lines changed: 4 additions & 26 deletions

File tree

README.md

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -180,38 +180,16 @@ PASS=zaza
180180
```
181181

182182
## Mise
183-
> keycli.tpl
184-
```raw
185-
PASS:app/pass
186-
KEY:app/key
187-
```
188-
189-
> load_env.sh
190-
```bash
191-
#!/bin/bash
192-
eval $(keycli load)
193-
```
194-
195183
> mise.toml
196184
```toml
197185
[tools]
198186
"cargo:keycli" = "latest"
199187

200-
[env]
201-
_.source = "./load_env.sh"
202-
```
188+
[plugins]
189+
keycli = "https://github.com/Headorteil/keycli-mise"
203190

204-
```bash
205-
$ keycli init
206-
The secret full path is: 'PASS:app/pass'? yes
207-
Input the value of 'PASS:app/pass': [hidden]
208-
INFO PASS was saved to keycli/app/pass
209-
The secret full path is: 'KEY:app/key'? yes
210-
Input the value of 'KEY:app/key': [hidden]
211-
INFO KEY was saved to keycli/app/key
212-
$ mise env | rg 'PASS|KEY'
213-
KEY=zozo
214-
PASS=zaza
191+
[env]
192+
_.keycli = { tools = true }
215193
```
216194

217195
# Good to know

0 commit comments

Comments
 (0)