1.0.8 • Published 12 months ago

rcli-ent v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

rcli-ent

react cli to generate boiler plate codes for the components


Usage:

  1. Install it globally: npm install -g rcli-ent / yarn add -g rcli-ent.
  2. Run the below command in the terminal inside your React.JS project. Syntax: rct -c ComponentName Example: rct -c profile Sample output:     Component profile/ProfileComponent.tsx created successfully     Component profile/ProfileComponent.scss created successfully

Available options

You can use bellow options to customise.

AttributeTypeOptionsDefault ValueDescriptionExample
--skipStylesbooleantrue, falsefalseby default component created with style sheet. pass false to overriderct -c profile --skipStyles
--typestringfunctional, classfunctionalto generate functional or class componentrct -c profile --type=class
--stylesstringscss, cssscssto set style whether to use scss or cssrct -c profile --styles=css
--camelCasebooleantrue, falsefalseto create component with camel casingrct -c profile --camelCase

Note: Component path name could be nested folder path to create component in a nested folder. Example: rct -c src/profile/change-password Output: Component src/profile/change-password/ChangePasswordComponent.tsx created successfully. Component src/profile/change-password/ChangePasswordComponent.scss created successfully.

License

MIT Licensed. Copyright (c) Manoj varma 2023.

1.0.8

12 months ago

1.0.2

2 years ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago