Forge.GenHandler
Forge.GenHandler — forge bastion.gen.handler <Name> [action ...]
Generates a controller module stub with the specified actions.
Usage: forge bastion.gen.handler Users forge bastion.gen.handler Users index show new create edit update delete
Without explicit actions, all seven CRUD actions are generated: index GET /<plural> show GET /<plural>/:id new GET /<plural>/new create POST /<plural> edit GET /<plural>/:id/edit update PUT /<plural>/:id delete DELETE /<plural>/:id
Functions
fnmainmain(_cap_console : Cap(IO.Console), _cap_fileread : Cap(IO.FileRead), _cap_filewrite : Cap(IO.FileWrite), _cap_process : Cap(IO.Process))#