fvrcli
v1.2.0
Published
Lista de comandos para automatizar tarefas.
Downloads
2
Readme
FVR CLI
A simple CLI tool for various development tasks.
Installation
Make sure you have Node.js installed on your machine. You can download it from Node.js website.
Open your terminal.
Install the CLI globally using npm:
npm install -g fvrcli
Usage
To use the CLI, open your terminal and type:
fvrcli
You will see a list of options to choose from:
- Developer Mode (npm run dev): Run the project in developer mode with specific options.
- Update Version (npm version): Update the project version.
- Build the Project (npm run build): Build the project for production.
- Generate (npm run generate): Generate something (specific to your project).
- Start Server: Start a server to preview your project.
- Exit: Quit the CLI.
Developer Mode
Choose option 1 to run the project in developer mode. This may have additional options; follow the on-screen instructions.
Update Project Version
Choose option 2 to update the project version. You'll be prompted to choose a version type from the following options:
- Patch: For bug fixes.
- Minor: For new features.
- Major: For incompatible changes.
Build the Project
Choose option 3 to build your project for production.
Generate
Choose option 4 to run a generation script specific to your project.
Start Server
Choose option 5 to start a server. You'll be prompted to choose a folder from the following options:
- Current folder (.)
- Output public folder (.output/public)
- Distribution folder (dist)
- Another folder
If you choose "Another folder," you'll be prompted to enter the path of the desired folder. After that, you'll be asked to enter the desired port (default is 3000).
Exit
Choose option 6 to exit the CLI.