The ideia is, everything about the structure should be made automatic created by commands (just like yo generators), but we'll use gulp and plain js, maybe yo locally installed :)
"Automatic Created" means, "With a solid structure and conventions", when creating files, it shouldn't be a "creative" task, it MUST have a solid structure, and solid conventions based in our Style Guide and inspired in Angular-Seed
Ideias of commands:
gulp make:directive follow-button
It creates the files of directive follow-button
Create a route
gulp make:route index
Creates
route.js
template.html
Could chain commands
gulp make:route:controller routeName
It creates
route.js
controller.js
template.js
And could exist alias
gulp make:state index
Create all the files needs for a state, route.js, controller.js, template.html
Chaining is interesting, because who runs the command knows exactly what is being created.
Note
Please, shared with us how you organize your files, Ionic Garden should be a good place to Ionic Projects live. Share your ideias for commands, cases and thing that went wrong.
Related to #22 but should be made after #22
The ideia is, everything about the structure should be made automatic created by commands (just like yo generators), but we'll use gulp and plain js, maybe yo locally installed :)
"Automatic Created" means, "With a solid structure and conventions", when creating files, it shouldn't be a "creative" task, it MUST have a solid structure, and solid conventions based in our Style Guide and inspired in Angular-Seed
Ideias of commands:
It creates the files of directive
follow-button
Create a route
Creates
Could chain commands
It creates
And could exist alias
Create all the files needs for a state, route.js, controller.js, template.html
Chaining is interesting, because who runs the command knows exactly what is being created.
Note
Please, shared with us how you organize your files, Ionic Garden should be a good place to Ionic Projects live. Share your ideias for commands, cases and thing that went wrong.