0.0.6 • Published 5 years ago
diecast v0.0.6
__ __ ______ __ _______ _____ ______ _______ _______
.--| |__|.-----.| |.---.-.-----.| |_| _ | |_| __ \ | | _ |
| _ | || -__|| ---|| _ |__ --|| _| | | __/ | |
|_____|__||_____||______||___._|_____||____|___|___|_______|___| |___|___|___|___|
Installation
npm install -g diecast
Commands
cast init
cast template (t) <template_name>
cast command (c) <command_keyword>
Instructions
CLI initialization
cast init
or just cast
will automatically scaffold a project structure with useful libraries for the development of Command Line Interfaces.
cast template
or cast t
will generate template javascript files for use in your generated cli project.
cast command
or cast c
will generate template for the command script and keyword
CLI use
npm run set (npm install && npm link)
will allow you to locally run and test your cli project.
<your-cli-name> init
should log out a hello world.