generate
The generate command, just like in Rails or the Ember CLI, is the primary code generator of new things.
sequenceDiagram
actor CLI
CLI ->>+ api.saas-rs.com: Generator Request + git archive.zip
api.saas-rs.com ->>+ CLI: Generator Response + git patch
- service — generates a new gRPC service
- model — generates a new view model
- resource — generates a new resource, which is a model plus its operations
- controller — generates a new controller, which implements the resource functions
- feature — generates a pre-built feature into the existing codebase