1.1.8 • Published 6 months ago

pasta-cli v1.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months 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.8

6 months ago

1.1.7

6 months ago

1.1.6

10 months ago

1.1.5

10 months ago

1.1.4

11 months ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago