From cc07fd430f5860481d6dd7e9050bf32da11d76ce Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 23 Aug 2024 18:25:09 +0200 Subject: feat(select/cmds): Add a `watched` command Otherwise, running `yt select file --done` would mark all your already wached stuff to be watched again. --- src/cli.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/cli.rs') diff --git a/src/cli.rs b/src/cli.rs index 3883cb1..4e64657 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -234,6 +234,12 @@ pub enum SelectCommand { shared: SharedSelectionCommandArgs, }, + /// Mark the video given by the hash as already watched + Watched { + #[command(flatten)] + shared: SharedSelectionCommandArgs, + }, + /// Open the video URL in Firefox's `timesinks.youtube` profile Url { #[command(flatten)] -- cgit 1.4.1