A rewrite of sub
and tome
and my fork of tome but with a different internal implementation in order to support:
# shorthand syntax via bash wrapper script
tome-cli --executable kit alias --output ~/bin/kit
# further uses of kit script have embedded values for TOME_ROOT and TOME_EXECUTABLE
kit completion fish | source
kit path to file
kit pat<TAB>
# Long form
export TOME_ROOT=examples
tome-cli exec path to file
tome-cli help path to <TAB>
tome-cli completion fish | source
# Setup tab completion
tome-cli completion fish | source
eval "$(tome-cli completion zsh)"
# See instructions for a command
tome-cli completion --help
See docs for expanded instructions
#!
USAGE:
is included in leading commentsUSAGE:
to first empty line.tomeignore
file at base of root folder example
// The *Run functions are executed in the following order:
// * PersistentPreRun()
// * PreRun()
// * Run()
// * PostRun()
// * PersistentPostRun()