use super::utils::*;
pub fn cli() -> App {
- subcommand("build")
+ subcommand("build").alias("b")
.about("Compile a local package and all of its dependencies")
.arg_package(
"Package to build",
use super::utils::*;
pub fn cli() -> App {
- subcommand("run")
+ subcommand("run").alias("r")
.setting(AppSettings::TrailingVarArg)
.about("Run the main binary of the local package (src/main.rs)")
.arg(Arg::with_name("args").multiple(true))
use clap::AppSettings;
pub fn cli() -> App {
- subcommand("test")
+ subcommand("test").alias("t")
.setting(AppSettings::TrailingVarArg)
.about("Execute all unit and integration tests of a local package")
.arg(
#[test]
-#[ignore]
fn alias_default_config_overrides_config() {
let p = project("foo")
.file("Cargo.toml", &basic_bin_manifest("foo"))