Skip to content

Commit

Permalink
fix #1057
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Mar 26, 2024
1 parent 2ebe412 commit 2733e27
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions devenv/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,36 +188,36 @@ enum Commands {
#[derive(Subcommand, Clone)]
#[clap(about = "Start or stop processes. https://devenv.sh/processes/")]
enum ProcessesCommand {
#[command(alias = "start")]
#[command(alias = "start", about = "Start processes in the foreground.")]
Up {
process: Option<String>,

#[arg(short, long)]
#[arg(short, long, help = "Start processes in the background.")]
detach: bool,
},

#[command(alias = "stop")]
#[command(alias = "stop", about = "Stop processes running in the background.")]
Down {},
// TODO: Status/Attach
}

#[derive(Subcommand, Clone)]
#[clap(about = "Build, copy, or run a container. https://devenv.sh/containers/")]
enum ContainerCommand {
#[clap(about = "Build a container.")]
#[command(about = "Build a container.")]
Build { name: String },

#[clap(about = "Copy a container.")]
#[command(about = "Copy a container.")]
Copy { name: String },

#[clap(about = "Run a container.")]
#[command(about = "Run a container.")]
Run { name: String },
}

#[derive(Subcommand, Clone)]
#[clap(about = "Add an input to devenv.yaml. https://devenv.sh/inputs/")]
enum InputsCommand {
#[clap(about = "Add an input to devenv.yaml.")]
#[command(about = "Add an input to devenv.yaml.")]
Add {
#[arg(help = "The name of the input.")]
name: String,
Expand Down

0 comments on commit 2733e27

Please sign in to comment.