0.5.4-r3 • Published 4 years ago

sigma-cli v0.5.4-r3

Weekly downloads
28
License
MIT
Repository
github
Last release
4 years ago

SIGMA CLI

CommandAliasDescription
generate:componentg:cCreate React/React Native/Expo component
generate:pageg:pCreate React/React Native/Expo page
--init-iConfigure Sigma for existing project
--generate-gCreate project with sigma template

Adding Sigma to existing project

  sigma --init

or

  sigma --i

Use this command to create .sigmaconfig.json

Create project with Sigma

  sigma --generate

or

  sigma --g

Use this command to create a React project with sigma

  • React Native and Expo will added in future
  • This command not execute npm install you need to run npm install or yarn
  • Recomended to execute npm update or yarn upgrade after install

Createing component or page

For component

  sigma generate:component <componentName>

or

  sigma g:c <componentName>

Use this to create a React/React Native/Expo component(default path "/src/components")

For page

  sigma generate:page <componentName>

or

  sigma g:p <componentName>

Use this to create a React/React Native/Expo page(default path "/src/pages")

If component or page name contains "/", sigma will detect that is the path to component or page e.g.:

  sigma generate:component TodoList/TodoItem

Sigma will generate the "TodoItem" inside "TodoList" folder

0.5.4-r3

4 years ago

0.5.4-r2

4 years ago

0.5.4-r1

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.0.1

4 years ago