vkcargo 0.45.1

Fork of Cargo, a package manager for Rust. This fork is for testing of vojtechkral's changes and is temporary.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::command_prelude::*;

const REMOVED: &str = "The `git-checkout` subcommand has been removed.";

pub fn cli() -> App {
    subcommand("git-checkout")
        .about("This subcommand has been removed")
        .settings(&[AppSettings::Hidden])
        .help(REMOVED)
}

pub fn exec(_config: &mut Config, _args: &ArgMatches<'_>) -> CliResult {
    Err(anyhow::format_err!(REMOVED).into())
}