plano-cli
v0.9.0
Published
A CLI and programmatic API for generating files, directories, and snippets from templates with context values and helper functions.
Readme
Plano CLI
A CLI and programmatic API for generating files, directories, and snippets from templates with context values and helper functions.
Getting Started
Installation
It is recommended to install globally if using the CLI.
npm install plano-cliQuick Start
Create a directory named plano. See the examples for more info. By default Plano will look for templates in the home directory, typically ~.
Additional paths can be specified.
Generate
Usage: plano [options] [command]
CLI to scaffold files and directories from templates
Options:
-v, --version output the version number
-h, --help display help for command
Commands:
generate [options] [name] Generate files or directories from a template
snippet [options] [name] Generate a snippet from a template
help [command] display help for commandFile/Directory Example
plano generate react-componentSnippet Example
plano snippet vitest-testExample with paths
plano generate react-component -p ./path/to/plano