aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-23 18:25:09 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-24 11:45:12 +0200
commitcc07fd430f5860481d6dd7e9050bf32da11d76ce (patch)
tree8d6cba95a1522a6bab731e4e839e346cd260605c /src/cli.rs
parentfeat(select/display): Also show the video hash when color displaying it (diff)
downloadyt-cc07fd430f5860481d6dd7e9050bf32da11d76ce.zip
feat(select/cmds): Add a `watched` command
Otherwise, running `yt select file --done` would mark all your already wached stuff to be watched again.
Diffstat (limited to '')
-rw-r--r--src/cli.rs6
1 files changed, 6 insertions, 0 deletions
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)]