diff options
Diffstat (limited to '')
-rw-r--r-- | src/cli.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs index fe89bf7..895cfc0 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -220,7 +220,6 @@ pub struct SharedSelectionCommandArgs { } #[derive(Subcommand, Clone, Debug)] -#[command(infer_subcommands = true)] // NOTE: Keep this in sync with the [`constants::HELP_STR`] constant. <2024-08-20> pub enum SelectCommand { /// Open a `git rebase` like file to select the videos to watch (the default) @@ -230,30 +229,36 @@ pub enum SelectCommand { done: bool, }, + /// Mark the video given by the hash to be watched + #[command(visible_alias = "w")] Watch { #[command(flatten)] shared: SharedSelectionCommandArgs, }, /// Mark the video given by the hash to be dropped + #[command(visible_alias = "d")] Drop { #[command(flatten)] shared: SharedSelectionCommandArgs, }, /// Mark the video given by the hash as already watched + #[command(visible_alias = "wd")] Watched { #[command(flatten)] shared: SharedSelectionCommandArgs, }, /// Open the video URL in Firefox's `timesinks.youtube` profile + #[command(visible_alias = "u")] Url { #[command(flatten)] shared: SharedSelectionCommandArgs, }, /// Reset the videos status to 'Pick' + #[command(visible_alias = "p")] Pick { #[command(flatten)] shared: SharedSelectionCommandArgs, |