1.0.1 • Published 4 years ago
@syntax_bi/cli v1.0.1
Syntax command line
The main idea behind this CLI is create a utilitie that help the team to follow the company standard creating part of code like service, components, screens and the initial project structure.
Generate solution
syntax generate-solution <react|spfx>
Example react
syntax generate-solution react
Generate a react app based in the Syntax standard
Options:
--version Show version number [boolean]
-h, --help Show help [boolean]
--name React project name [string] [required]
Example spfx
syntax generate-solution spfx
Generate a spfx solution based in the Syntax standard
Options:
--version Show version number [boolean]
-h, --help Show help [boolean]
--component-description Spfx description [string]
--component-name Webpart name [string] [required]
--react-name React project name [string] [required]
--solution-name Solution name [string] [required]
Merge solution
To execute this command is necessy to be in the root folder (react-spfx apps) and be sure that the syntax.config.json
exist.
syntax merge-solution
Authors
- Juan Esteban Yarce
- Francisco Alfonso Buitrago