Few more commands
This commit is contained in:
parent
293da4f330
commit
f0ba8bf593
3 changed files with 48 additions and 2 deletions
15
src/cli.rs
15
src/cli.rs
|
@ -94,5 +94,20 @@ pub enum Commands {
|
|||
// position: Option<u32>,
|
||||
// },
|
||||
/// Shuffles the current queueue
|
||||
#[command(visible_alias = "scramble")]
|
||||
Shuffle,
|
||||
/// Toggles repeat
|
||||
Repeat,
|
||||
/// Toggles random
|
||||
Random,
|
||||
/// Toggles consume
|
||||
Consume,
|
||||
/// Toggles single
|
||||
Single,
|
||||
/// Get or set volume
|
||||
#[command(visible_alias = "vol")]
|
||||
Volume {
|
||||
#[arg(value_hint = ValueHint::Other)]
|
||||
percentage: Option<i8>,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue