File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -9,20 +9,17 @@ A rewrite of [`sub`](https://github.com/qrush/sub) and [`tome`](https://github.c
99# Usage
1010
1111```
12- # shorthand syntax via bash wrapper script
13- tome-cli --executable kit alias --output ~/bin/kit
12+ # one time setup command
13+ # requires setting the --root and --executable name
14+ # it outputs a templated wrapper script that will be how you call tome-cli
15+ # in this case it's called `kit` and the scripts repo is ~/example-scripts-folder
16+ tome-cli --root ~/example-scripts-folder --executable kit alias --output ~/bin/kit
1417
1518# further uses of kit script have embedded values for TOME_ROOT and TOME_EXECUTABLE
1619kit completion fish | source
1720kit path to file
1821kit pat<TAB>
1922
20- # Long form
21- export TOME_ROOT=examples
22- tome-cli exec path to file
23- tome-cli help path to <TAB>
24- tome-cli completion fish | source
25-
2623# Setup tab completion
2724tome-cli completion fish | source
2825eval "$(tome-cli completion zsh)"
You can’t perform that action at this time.
0 commit comments