pace_rs/commands/
setup.rs1use abscissa_core::{Command, Runnable};
4use clap::{Parser, Subcommand};
5
6mod completions;
7mod config;
8mod project;
9mod show;
10
11#[derive(Subcommand, Command, Debug, Runnable)]
19pub enum SetupSubCmd {
20 #[clap(alias = "init", alias = "new", alias = "i", alias = "c")]
22 Config(config::ConfigSubCmd),
23
24 Show(show::ShowSubCmd),
26
27 #[clap(alias = "comp")]
29 Completions(completions::CompletionsCmd),
30}
31
32#[derive(Command, Debug, Parser, Runnable)]
34pub struct SetupCmd {
35 #[clap(subcommand)]
36 commands: SetupSubCmd,
37}