1.1.3 • Published 29 days ago

pasta-cli v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
29 days ago

🚚 No installation required, npx available

npx pasta-cli --name my-component

🎯 Props

NameTypeDescription
--namestring (rqeuired)If you separate the name with a - sign, you will get Pascal case output.
--typereact,react-nativeIt can take the values "react" or "react-native". (Default: 'react-native')
--diretc: src/componentsSpecifies where to render the component. (Default: project root dir)

💎 Example usage

This command will create a component named "button" under "src/components" folders for "react-native".

npx pasta-cli --name my-component --dir src/components --type react-native
-src/
  -components/
    -MyComponent/
      -MyComponent.tsx
      -MyComponent.Style.ts

📄 License

Pasta is MIT licensed, as found in the LICENSE file.

1.1.3

29 days ago

1.1.2

29 days ago

1.1.1

5 months ago

1.1.0

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago