Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the description of the commands (to be included in --help) #11

Open
jamartis opened this issue May 18, 2023 · 0 comments
Open

Add the description of the commands (to be included in --help) #11

jamartis opened this issue May 18, 2023 · 0 comments

Comments

@jamartis
Copy link
Contributor

alternatives/src/main.rs

Lines 26 to 61 in 6a119cb

// TODO add aliases for some now obsolete commands
#[derive(Subcommand, Debug)]
enum Commands {
/// TODO: Help text goes here
#[command(long_flag = "install")]
Install {
/// TODO: Help text goes here
link: String,
/// TODO: Help text goes here
name: String,
/// TODO: Help text goes here
path: String,
/// TODO: Help text goes here
priority: i32,
/// TODO: Help text goes here
#[arg(long, num_args=3, value_names=["LINK", "NAME", "PATH"])]
follower: Vec<String>,
/// TODO: Help text goes here
initscript: Option<String>,
},
/// TODO: Help text goes here
#[command(long_flag = "remove")]
Remove { name: String, path: String },
/// TODO: Help text goes here
#[command(long_flag = "set")]
Set { name: String, path: String },
/// TODO: Help text goes here
#[command(long_flag = "auto")]
Auto { name: String, path: String },
/// TODO: Help text goes here
#[command(long_flag = "display")]
Display { name: String },
/// TODO: Help text goes here
#[command(long_flag = "config")]
Config { name: String },
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant