@arthony/keybook 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/cli.js +1120 -400
- package/package.json +3 -3
- package/seed/nano.yaml +53 -12
package/README.md
CHANGED
|
@@ -33,6 +33,7 @@ key"*, or use `⌃W` (works in any terminal).
|
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
35
|
keybook # launch the TUI (alias: kb)
|
|
36
|
+
keybook add # add a new entry (interactive form)
|
|
36
37
|
keybook path # print the data directory
|
|
37
38
|
keybook edit # open the data directory in $EDITOR
|
|
38
39
|
keybook check # validate your data files
|
|
@@ -41,6 +42,10 @@ keybook check # validate your data files
|
|
|
41
42
|
In the TUI: type to fuzzy-search, ↑/↓ to move, ⏎ to copy the shortcut (or a
|
|
42
43
|
recipe's command) to the clipboard, ⎋ to quit.
|
|
43
44
|
|
|
45
|
+
Press `⌃O` in the TUI to add an entry without leaving the search screen. Or
|
|
46
|
+
script it: `keybook add --app Fork --action 'Push' --keys 'shift cmd p' --tags push`
|
|
47
|
+
(`--keys` accepts glyphs or words; recipes use repeatable `--step`).
|
|
48
|
+
|
|
44
49
|
## Your data
|
|
45
50
|
|
|
46
51
|
Shortcuts live in plain YAML files you own — by default `~/.config/keybook/`
|