Open
Description
One of the things that eats up a lot of time is the creation of action stubs for new entites.
Imagine your state is like this:
interface Item {
name: string;
}
interface State {
items: Item[];
}
now in order to have the most common CRUD - R operations you'd need three actions.
What if instead, aurelia store would also act as a cli at the same time, helping you creating those action stubs on the fly.
You can try out a basic sample by installing:
$ npm install git://github.com/aurelia/store.git#action-scaffold
$ aurelia-store entityName entityType entityList stateType idName
I'd be interested to hear what you think about it and what a nice collection of actions boilerplates could be.
EDIT:
Make sure to visit this discourse topic for further discussions