Scafflater Cli
Usage
$ npm install -g scafflater-cli
$ scafflater-cli COMMAND
running command...
$ scafflater-cli (-v|--version|version)
scafflater-cli/0.0.97 linux-x64 node-v15.14.0
$ scafflater-cli --help [COMMAND]
USAGE
$ scafflater-cli COMMAND
...
Commands
scafflater-cli help [COMMAND]
scafflater-cli init [SOURCE]
scafflater-cli partial:list
scafflater-cli partial:run [PARTIAL_NAME]
scafflater-cli help [COMMAND]
display help for scafflater-cli
USAGE
$ scafflater-cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
scafflater-cli init [SOURCE]
Initializes the template in a output folder
USAGE
$ scafflater-cli init [SOURCE]
OPTIONS
-c, --cache=homeDir|tempDir [default: homeDir] The cache strategy
-o, --output=output [default: ./] The output folder
-p, --parameters=parameters [default: ] The parameters to init template
-s, --templateSource=git|githubClient|isomorphicGit|localFolder [default: git] Template source indicating how the
template is fetched
DESCRIPTION
...
See code: commands/init.js
scafflater-cli partial:list
Lists available partials in template
USAGE
$ scafflater-cli partial:list
OPTIONS
-c, --cache=homeDir|tempDir [default: homeDir] The cache strategy
-o, --output=output [default: ./] The output folder
-s, --templateSource=git|githubClient|isomorphicGit|localFolder [default: git] Template source indicating how the
template is fetched
DESCRIPTION
...
See code: commands/partial/list.js
scafflater-cli partial:run [PARTIAL_NAME]
Runs a partial and append the result to the output folder
USAGE
$ scafflater-cli partial:run [PARTIAL_NAME]
ARGUMENTS
PARTIAL_NAME The partial name
OPTIONS
-c, --cache=homeDir|tempDir [default: homeDir] The cache strategy
-o, --output=output [default: ./] The output folder
-p, --parameters=parameters [default: ] The parameters to init template
-s, --templateSource=git|githubClient|isomorphicGit|localFolder [default: git] Template source indicating how the
template is fetched
-t, --template=template The template which contains the partial to be run
DESCRIPTION
...
See code: commands/partial/run.js