The Wizzi command line interface (CLI) is used to perform basic functionality, such as executing a Wizzi Production, creating a new Wizzi Package based on a starter, wizzifying an existing artifact or a folder of artifacts.
The Wizzi CLI is available via [npm](https://www.npmjs.com/) and should be installed globally
npm install -g wizzi-cli
CLI Commands
+ wizzi [configname]
Executes a Wizzi Production described in a wizzi.config[.configname].js file.
The config file is searched in the current folder and its parents.
+ wizzi
Tee wizzi command, with no parameters, executes the default production, that must be defined in the wizzi.config.js file, located in the current folder or its parents.
wizzi create
Executes a Wizzi Meta Production creating a new Wizzi Package for a Wizzi Production Type.
An 'inquirer' dialog asks for the Wizzi Production Type and other available options.
- Available starters
- pure js
- webpack
- webpack + react + material-ui
- gatsby
- express
- Wizzi Plugin
wizzi fy --source --dest
The `wizzi fy` command executes the 'wizzifying' of a file or folder (for example creates a .js.ittf document from a .js file).
Argument | Description | |
---|---|
--source|-s |
The source file or folder path |
--dest|-d |
The destination file or folder path |
wizzi --help