Open bilo-io opened 7 years ago
A further improvement would be to include this command:
bilo add
a dependency to an already existing project
express
... adds express and a server.js file (if one does not exist)webpack
... adds webpack.config.js, dev-server & bundle-analyzer
Current Issue
This CLI requires a different menu style. At the moment it is not very useful or elegant
bilo
will still display a similar menuwebapp
webapi
react
ng2 | ng4
(to deprecate??)But the improvement will be when you go straight into one of these submenu's, e.g.:
React
bilo react
will show the menui | init
(with router) create a plain React application with suggested folder structurec | component
create a basic (named) component (that is stateless)p | page
create a redux linked (named) page (that is stateful, i.e. uses redux)d | data
create (global) data resource that is accessible from all pagesWebApi
bilo webapi
will show the menui | init
will create an express.js based webapi with a single test endpointr | resource
will create a (named) controller with a corresponding route, and modelc | controller
will create a (named) controllerm | model
will create a (named) modelr | route
will create a (named) route