chriscates-trusty
v0.1.0
Published
Simple code gen and templating tool
Readme
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 --globalYou 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 --purgeDeveloping yourself
Requires Node/NPM LTS:
# Install node_modules
yarn # or npm install
# Run tests
yarn testAdditional Notes
- MIT Licensed :heart:
