ws-cli

Crates.iows-cli
lib.rsws-cli
version
sourcesrc
created_at2023-12-18 16:34:54.317056
updated_at2024-12-09 03:52:21.906261
descriptionManage your workspace with ease
homepage
repository
max_upload_size
id1073492
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Uriah Galang (codeitlikemiley)

documentation

README

A CLI tool (ws-cli) to Manager Rust Workspace

Release

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

  1. 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

  1. Install via Cargo , by default it would install both ws and ws-cli command, the command below would only install ws command
cargo install ws-cli --bin ws

Developer Workflow

  1. 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
Commit count: 0

cargo fmt