-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
All commands should be changed and simplified into producing modules that behave in a certain way.
React Component Module:
kitty make:component Namespace MyComponent
components
└Namespace
└ MyComponent
├── MyComponent-spec.js (Test the Component)
├── MyComponent.jsx
├── MyComponent.md (Documentation on the component)
└── _MyComponent.scss (Style the Component)
Collection Component Module:
kitty make:collection Namespace MyCollection
collections
└Namespace
└ MyCollection
├── MyCollection-spec.js (Test the Component)
├── MyCollection.js
├── MyCollectionFactory.js
├── MyCollectionSeed.js
├── MyCollectionSchema.js
└── MyComponent.md (Documentation on the component)
I think generating all of this scaffolding upfront would be best.
All commands should also come with a --simple flag to produce JUST the component or collection file.
Metadata
Metadata
Assignees
Labels
No labels