Trusty
Simple code gen and templating tool that uses LevelDB
Usage
Trusty is accessible via npm or yarn:
yarn global add chriscates-trusty # or npm install chriscates-trusty --global
You can then invoke commands through the trusty
command:
# Help information
trusty --help
# Specify Trusty DB Path (default is ~/.trusty)
trusty --db $HOME/.trusty
# Save a file or folder as a template
trusty --save CustomNGTemplate --dir /path/to/file/or/folder
# Use a template in cwd
trusty --use CustomNGTemplate --dir .
# Inspect structure of a template
trusty --inspect CustomNGTemplate
# List all available templates
trusty --list
# Purge Trusty Database
trusty --purge
Developing yourself
Requires Node/NPM LTS:
# Install node_modules
yarn # or npm install
# Run tests
yarn test
Additional Notes
- MIT Licensed
❤️