Skip to content

Create Endpoint command #4

@vikkio88

Description

@vikkio88

php novice create_endpoint [endpoint name] [params]
the create Enpoint command will:

  • generate the routes
  • generate the actions
  • generate the model
  • generate the Acceptance tests

It will be nice make it able to choose if is just the route that we want or the whole CRUD ops, that is why params come in handy:
PoC

  • php novice create_endpoint users crud will create CRUD operations endpoint, model and actions
  • php novice create_enpoind users\settings --no-model will just add a new enpoint on the users routes and will nor create the model

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions