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 35070b8..695cdc4 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -18,6 +18,8 @@ use log::debug;
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