rage-framework/cli
Danya H 495217ecd5 upd cli
- handled process exit
- updated docs + readme
- typos fix
2024-10-30 18:31:53 +00:00
..
src upd cli 2024-10-30 18:31:53 +00:00
.prettierrc.yaml rage-fw-cli init 2024-06-13 16:26:08 +01:00
LICENSE hotfix 2024-10-30 17:00:36 +00:00
package.json upd cli 2024-10-30 18:31:53 +00:00
readme.md upd cli 2024-10-30 18:31:53 +00:00
tsconfig.json rage-fw-cli create command 2024-06-13 18:04:09 +01:00
tsup.config.ts cli check for update 2024-06-13 21:16:52 +03:00

To make you life easier while using RageFW we created a basic CLI. At the moment automation we have only works via pnpm and bun

pnpm create @entityseven/rage-fw@latest

bun create @entityseven/rage-fw@latest

TL;DR

  • Initialize new project - create new template project
  • Test our RPC - scaffold an example for @entityseven/rage-fw-rpc
  • Install RAGE:MP updater - download and update RAGE:MP server files

Options

For now, you will see a few available options. They are described in detail below

  • Initialize new project
  • Test our RPC
  • Install RAGE:MP updater

Initialize new project

Using this option will forward you to common project creation menu

  • Enter project name This option will specify a name for your project which is used as a folder name too. Defaults to rage-fw-example

  • Select front-end Use selector menu to choose which front-end framework you want to use. We will do our best to expand this menu with various solutions

Test our RPC

Using this option will forward you to common project creation menu

  • Enter project name This option will specify a name for your project which is used as a folder name too. Defaults to rage-fw-rpc-example

  • Select front-end Use selector menu to choose which front-end framework you want to use. We will do our best to expand this menu with various solutions

Install Rage:MP updater

This option will simplify installation and update process of Rage:MP server files required to start your server

Contribution

If you wish to help us in expanding examples selection with different framework you are very welcome to open PRs and Issues