Skip to content

Commit 248059f

Browse files
authored
Update README.md
1 parent 590825f commit 248059f

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff 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
1619
kit completion fish | source
1720
kit path to file
1821
kit 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
2724
tome-cli completion fish | source
2825
eval "$(tome-cli completion zsh)"

0 commit comments

Comments
 (0)