npx gch-cli init
- Creates a HapiJS REST + WS API.
npx gch-cli api <route type>
- Creates a file for the specified route type. Ex: "users" creates a file to put all your user specific routes.
npx gch-cli socket <method name>
- Creates a file for the specific method. Ex: "login" creates a login method to handle user login on WS.