xcomponent / xc-cli

XComponent Command Line Interface
https://xcomponent.github.io/xcomponent-dev-center/
1 stars 1 forks source link

Command to add a new component to an existing project #8

Closed nicolaserny closed 6 years ago

nicolaserny commented 6 years ago

cli command example: xc add --component myComponent (it is just a proposal)

This command add a new component by using a component template

daniellavoie commented 6 years ago

@nicolaserny Could you provide an example for a default component that could be added to a project with the command xc add component myComponent?

nicolaserny commented 6 years ago

Component1.zip

@daniellavoie This is an example of a default component (with 1 state and 1 stjatemachine) called Component1 (not too many files ;-) ) The template parameter should be the component name