⛔️ DEPRECATED: The rfw cli is now part of the main project.
rfw-cli is the official command-line interface (CLI) tool for the rfw framework. It allows you to create, build, and run rfw projects from the command line.
Ensure you have Go installed on your machine. Then, install rfw-cli with the following command:
go install github.com/rfwlab/rfw-cli@latestTo create a new rfw project, run the following command:
rfw-cli init github.com/username/project-nameTo start the rfw server, run the following command:
rfw-cli devTwo flags are available for the dev command:
--port XXXX: specify the port number for the server (default is 8080, replaceXXXXwith the desired port number)--host: to expose the server to the network
For example
rfw-cli dev --port 3000 --host