Core Commands
Sauf provides a series of core commands to help you manage and operate your command-line application efficiently. Below is a list of the core commands that Sauf supports:
dev: Start the application in development mode.-p, --port <port>: Specify the port the application will listen on (default is 3000).-h, --host <host>: Specify the host the application will listen on (default is localhost).
sh
$ npx sauf devsh
$ pnpx sauf devsh
$ yarn sauf devsh
$ bun sauf devdb: init: Initialize the database.
sh
$ npx sauf db:initsh
$ pnpx sauf db:initsh
$ yarn sauf db:initsh
$ bun sauf db:initroute:list: Display the list of routes registered in your application.
sh
$ npx sauf route:listsh
$ pnpx sauf route:listsh
$ yarn sauf route:listsh
$ bun sauf route:list