From 2ea821461fe475e14d02e02146519ac37a5b6c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Katona?= Date: Thu, 4 Aug 2022 09:13:00 -0700 Subject: [PATCH] release v0.2.0 --- CHANGELOG.md | 5 +++++ README.md | 4 ++++ src/main.rs | 3 --- src/vcs/cli.rs | 4 ---- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe6389f..664bb78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.2.0] - 2022-08-04 + ### Changed - make `status` subcommand more ergonomic - refactor `branch` subcommand into `checkout` +### Added +- add `dir` command for easier navigation to workspace members + ## [v0.1.0] - 2022-07-17 ### Added diff --git a/README.md b/README.md index 3685ec7..0234560 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,10 @@ riscv-rt set to refs/heads/e-h-1.0.0-alpha.7 mipidsi set to refs/heads/v0.3.0-alpha.1 ``` +### Navigating to a specific workspace member + +- `$ cd $(cargo vcs dir member1)` + ## Profile configs Profile config is saved in the workspace root directory under the name `Cargo_vcs.toml`. Manual editing is possible but using `cargo vcs profile save ` is the preferred method as it resolves shortnames to full repository reference paths. diff --git a/src/main.rs b/src/main.rs index 309822d..5f372dd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,9 +33,6 @@ fn main() { vcs.checkout_ref(&reference, projects) .expect("Error setting branch on projects"); } - Commands::Clone { url } => { - todo!(); - } Commands::Profile(ProfileCommand::Save { profile }) => { vcs.save_profile(&profile) .expect("Error saving vcs profile"); diff --git a/src/vcs/cli.rs b/src/vcs/cli.rs index 71b55ce..e6c9f7e 100644 --- a/src/vcs/cli.rs +++ b/src/vcs/cli.rs @@ -20,10 +20,6 @@ pub enum Commands { /// Workspace member name to show directory for member: String, }, - Clone { - /// Url to clone workspace from (e.g. ssh) - url: String, - }, /// Show workspace status Status { /// Show verbose status information