4 releases (breaking)
Uses new Rust 2024
new 0.4.0 | May 26, 2025 |
---|---|
0.3.0 | May 24, 2025 |
0.2.0 | Mar 18, 2025 |
0.1.0 | Mar 14, 2025 |
#528 in Asynchronous
82 downloads per month
17KB
301 lines
Fluxor CLI is the command-line interface for the Fluxor web framework, enabling rapid project scaffolding and management for Rust applications focused on data science and computing.
Features
- Project Scaffolding: Quickly create new Fluxor projects with pre-configured templates.
- Version Flexibility: Specify the version of Fluxor to utilize in your projects.
- Example Templates: Easily initialize projects with example code to kickstart development.
Getting Started
To install the Fluxor CLI, run:
cargo install fluxor_cli
Usage
Once installed, you can create a new Fluxor project with:
fluxor new <project_name> --version latest --example helloworld
Replace <project_name> with your desired project name. Navigate to your project directory:
cd <project_name>
Running The Application To build and run your newly created Fluxor application, use:
cargo run
The application should start on http://127.0.0.1:8080.
All Examples
Hello World
- helloworld
- helloworld-api
- helloworld-api-server
Routes
- routes
Use the example name after the flag --example (e.g., helloworld
):
fluxor new my_project --version latest --example helloworld
fluxor new my_app --version latest --example routes
Documentation
For more detailed usage and advanced features, refer to the fluxor & fluxor_cli documentations.
Contributing
Contributions are welcome! Fork the repository and submit a pull request. For larger changes, please discuss them in an issue.
License
Fluxor CLI is licensed under either of the following licenses:
- MIT License
- Apache License, Version 2.0
See the LICENSE file for more details.
Author
Dependencies
~4–6MB
~107K SLoC