vegn-cli v1.0.0
Vegn CLI
The Vegn CLI (Command-Line Interface) is a tool that helps you create and manage Vegn projects. Vegn is a full-stack web development framework that combines Vue.js, Echo, Golang, and MongoDB. This CLI automates the project creation process and provides convenient commands to run the server, build the frontend, and more.
Installation
To use the Vegn CLI, make sure you have Node.js installed on your system. Then, you can install it globally using npm:
npm install -g vegn-cli
Usage
The Vegn CLI provides the following commands:
vegn create-project <project-name>
: Creates a new Vegn project with the given name. This command will clone the Vegn project template and install the necessary dependencies, including MongoDB, Go, Vue.js, and Echo.Example:
vegn create-project my-vegn-project
vegn run-server
: Starts the Vegn server. This command should be run from the root directory of your Vegn project.Example:
vegn run-server
vegn build-frontend
: Builds the Vue.js frontend. This command should be run from the root directory of your Vegn project.Example:
vegn build-frontend
Note: When running the CLI commands, make sure you are in the same directory as your Vegn project.
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request on the GitHub repository.
License
This project is licensed under the MIT License.
11 months ago