aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.rs')
-rw-r--r--src/command.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.rs b/src/command.rs
index db22028..c907d51 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -15,6 +15,8 @@ use structopt::StructOpt;
pub enum Command {
/// Adds url to playlist
Add { url: String },
+ /// Adds the first video found on YouTube
+ Search { query: Vec<String> },
/// Starts audio playback
Play,
/// Pauses audio playback