about summary refs log tree commit diff stats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-07 19:41:15 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-07 19:41:15 +0200
commit03197cd47ac595dec00ac8c047be0c66b5716a71 (patch)
tree4b04b1d9e1c1f78db22f0172a678d16241ae6391 /src/cli.rs
parentfix(cli): Avoid having to interleave `sedowa` with dashes (diff)
downloadyt-03197cd47ac595dec00ac8c047be0c66b5716a71.tar.gz
yt-03197cd47ac595dec00ac8c047be0c66b5716a71.zip
feat(cli): Also add a `dowa` command
This is the same as the `sedowa` command, with the difference that the
`dowa` command does not include the select part.
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 0dfd531..51809c0 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -63,6 +63,8 @@ pub enum Command {
 
     /// Select, download and watch in one command.
     Sedowa {},
+    /// Download and watch in one command.
+    Dowa {},
 
     /// Work with single videos
     Videos {