diff --git a/.github/assets/demo.gif b/.github/assets/demo.gif new file mode 100644 index 0000000..4fc8869 Binary files /dev/null and b/.github/assets/demo.gif differ diff --git a/.github/assets/demo.tape b/.github/assets/demo.tape index e69de29..2113b9c 100644 --- a/.github/assets/demo.tape +++ b/.github/assets/demo.tape @@ -0,0 +1,23 @@ +Output .github/assets/demo.gif +Require default-creds-tui + +Set Shell "zsh" +Set FontSize 26 +Set Width 1500 +Set Height 1000 + +Type "default-creds-tui" +Sleep 500ms +Enter +Sleep 3s + +Type "Pf" +Sleep 500ms +Type "sense" +Sleep 500ms +Down +Sleep 1500ms +Down +Sleep 1s +Enter +Sleep 2s diff --git a/README.md b/README.md index 6c802a3..558afa9 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Flags: -v, --version version for default-creds-tui ``` -Credentials come from one of three sources, controlled by `--mode` (or `app.mode` in the config file): +Credentials come from two sources, controlled by `--mode`: - `local`: reads YAML files from `~/.cache/default-creds/data` (e.g. a `git clone` of [default-creds](https://github.com/anotherhadi/default-creds) into `~/.cache/default-creds`). @@ -90,10 +90,6 @@ default-creds-tui --search "d-link" default-creds-tui --search "cisco" --no-colors ``` -`--print` (or `app.print_on_enter: true` in the config) turns enter itself into a picker: it prints -the selected result to stdout and exits with status 0, instead of copying the password. Regardless -of that setting, `P` always prints the selected result and quits. - ---