npm install treact-cli---
- Overview
- Instalation
- Usage
---
treact-cli it's a simple package which will fastify your workflow! With this package you can simple generate components for React and React Native.
---
```
yarn global add treact-cli
or
``
npm i -g treact-cli
---
To generate component you need to type
``
treact -g c
And for React Native you need to pass --rn argument
``
treact -g c --rn
Also you can strong pass component name and styles type
`
treact -g c --name [name of you component] -s [no | css | scss | styl | less | rn]
``