update use strings

This commit is contained in:
onyx-and-iris 2026-01-31 21:33:05 +00:00
parent a0663350f8
commit e7dd589243
2 changed files with 10 additions and 10 deletions

View File

@ -18,7 +18,7 @@ var busCmd = &cobra.Command{
// busMuteCmd represents the bus mute command. // busMuteCmd represents the bus mute command.
var busMuteCmd = &cobra.Command{ var busMuteCmd = &cobra.Command{
Use: "mute", Use: "mute [bus number] [true|false]",
Short: "Get or set the bus mute status", Short: "Get or set the bus mute status",
Long: `Get or set the mute status of a specific bus.`, Long: `Get or set the mute status of a specific bus.`,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
@ -56,7 +56,7 @@ var busMuteCmd = &cobra.Command{
// busFaderCmd represents the bus fader command. // busFaderCmd represents the bus fader command.
var busFaderCmd = &cobra.Command{ var busFaderCmd = &cobra.Command{
Use: "fader", Use: "fader [bus number] [level in dB]",
Short: "Get or set the bus fader level", Short: "Get or set the bus fader level",
Long: `Get or set the fader level of a specific bus. Long: `Get or set the fader level of a specific bus.
If no level argument is provided, the current fader level is retrieved. If no level argument is provided, the current fader level is retrieved.
@ -106,13 +106,13 @@ For example:
// busFadeOutCmd represents the bus fade out command. // busFadeOutCmd represents the bus fade out command.
var busFadeOutCmd = &cobra.Command{ var busFadeOutCmd = &cobra.Command{
Use: "fadeout", Use: "fadeout [bus number] --duration [seconds] [target level in dB]",
Short: "Fade out the bus fader over a specified duration", Short: "Fade out the bus fader over a specified duration",
Long: `Fade out the bus fader to minimum level over a specified duration in seconds. Long: `Fade out the bus fader to minimum level over a specified duration in seconds.
For example: For example:
# Fade out bus 1 over 5 seconds # Fade out bus 1 over 5 seconds
xair-cli bus fadeout 1 --duration 5 xair-cli bus fadeout 1 --duration 5 -- -90.0
`, `,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
client := ClientFromContext(cmd.Context()) client := ClientFromContext(cmd.Context())
@ -170,13 +170,13 @@ For example:
// BusFadeInCmd represents the bus fade in command. // BusFadeInCmd represents the bus fade in command.
var busFadeInCmd = &cobra.Command{ var busFadeInCmd = &cobra.Command{
Use: "fadein", Use: "fadein [bus number] --duration [seconds] [target level in dB]",
Short: "Fade in the bus fader over a specified duration", Short: "Fade in the bus fader over a specified duration",
Long: `Fade in the bus fader to maximum level over a specified duration in seconds. Long: `Fade in the bus fader to maximum level over a specified duration in seconds.
For example: For example:
# Fade in bus 1 over 5 seconds # Fade in bus 1 over 5 seconds
xair-cli bus fadein 1 --duration 5 xair-cli bus fadein 1 --duration 5 -- 0.0
`, `,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
client := ClientFromContext(cmd.Context()) client := ClientFromContext(cmd.Context())

View File

@ -18,7 +18,7 @@ var mainCmd = &cobra.Command{
// mainMuteCmd represents the main mute command. // mainMuteCmd represents the main mute command.
var mainMuteCmd = &cobra.Command{ var mainMuteCmd = &cobra.Command{
Use: "mute", Use: "mute [true|false]",
Short: "Get or set the main LR mute status", Short: "Get or set the main LR mute status",
Long: `Get or set the main L/R mute status. Long: `Get or set the main L/R mute status.
@ -69,7 +69,7 @@ For example:
// mainFaderCmd represents the main fader command. // mainFaderCmd represents the main fader command.
var mainFaderCmd = &cobra.Command{ var mainFaderCmd = &cobra.Command{
Use: "fader", Use: "fader [level in dB]",
Short: "Set or get the main LR fader level", Short: "Set or get the main LR fader level",
Long: `Set or get the main L/R fader level in dB. Long: `Set or get the main L/R fader level in dB.
@ -111,7 +111,7 @@ For example:
// mainFadeOutCmd represents the main fadeout command. // mainFadeOutCmd represents the main fadeout command.
var mainFadeOutCmd = &cobra.Command{ var mainFadeOutCmd = &cobra.Command{
Use: "fadeout [target_db]", Use: "fadeout --duration [seconds] [target_db]",
Short: "Fade out the main output", Short: "Fade out the main output",
Long: `Fade out the main output over a specified duration. Long: `Fade out the main output over a specified duration.
For example: For example:
@ -171,7 +171,7 @@ This command will fade out the main output to the specified dB level.
// mainFadeInCmd represents the main fadein command. // mainFadeInCmd represents the main fadein command.
var mainFadeInCmd = &cobra.Command{ var mainFadeInCmd = &cobra.Command{
Use: "fadein [target_db]", Use: "fadein --duration [seconds] [target_db]",
Short: "Fade in the main output", Short: "Fade in the main output",
Long: `Fade in the main output over a specified duration. Long: `Fade in the main output over a specified duration.