4 releases
0.1.3 | Dec 9, 2024 |
---|---|
0.1.2 | Dec 9, 2024 |
0.1.1 | Dec 19, 2023 |
0.1.0 | Dec 18, 2023 |
#560 in Command line utilities
288 downloads per month
9KB
107 lines
A CLI tool (ws-cli) to Manager Rust Workspace
Note: This is an additional tooling to help you be productive building GRPC Server with Rust
Mainly used to Initialize a new Workpspace for Server Template and add Service with Service Template
Installation
- You can Download and Install workspacer cli on Releases Page
Note: on MacOS you might need to go to System Preferences > Security & Privacy > General and click Open Anyway to install it
Note: on Windows you might need to Add the command to ENV PATH
- Install via Cargo , by default it would install both
ws
andws-cli
command, the command below would only installws
command
cargo install ws-cli --bin ws
Developer Workflow
- Initialize a new workspace
mkdir workspace
cd workspace
ws init
it would generate a Cargo.toml
file with the following content
[workspace]
resolver = "2"
members = []
CLI Example Usage
ws
Manage workspace for GRPC services
Usage: ws <COMMAND>
Commands:
init Initializes a new workspace
add Adds a member to the workspace
rm Removes a member from the workspace
ls Lists members of the workspace
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
Dependencies
~2.2–3MB
~54K SLoC