mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-02-03 23:17:47 +00:00
upd docstrings
This commit is contained in:
parent
bb82d8653b
commit
3118370206
@ -12,13 +12,8 @@ import (
|
|||||||
// busCmd represents the bus command
|
// busCmd represents the bus command
|
||||||
var busCmd = &cobra.Command{
|
var busCmd = &cobra.Command{
|
||||||
Use: "bus",
|
Use: "bus",
|
||||||
Short: "A brief description of your command",
|
Short: "Commands to control individual buses",
|
||||||
Long: `A longer description that spans multiple lines and likely contains examples
|
Long: `Commands to control individual buses of the XAir mixer, including mute status.`,
|
||||||
and usage of using your command. For example:
|
|
||||||
|
|
||||||
Cobra is a CLI library for Go that empowers applications.
|
|
||||||
This application is a tool to generate the needed files
|
|
||||||
to quickly create a Cobra application.`,
|
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
fmt.Println("bus called")
|
fmt.Println("bus called")
|
||||||
},
|
},
|
||||||
|
|||||||
@ -12,13 +12,8 @@ import (
|
|||||||
// stripCmd represents the strip command
|
// stripCmd represents the strip command
|
||||||
var stripCmd = &cobra.Command{
|
var stripCmd = &cobra.Command{
|
||||||
Use: "strip",
|
Use: "strip",
|
||||||
Short: "A brief description of your command",
|
Short: "Commands to control individual strips",
|
||||||
Long: `A longer description that spans multiple lines and likely contains examples
|
Long: `Commands to control individual strips of the XAir mixer, including fader level and mute status.`,
|
||||||
and usage of using your command. For example:
|
|
||||||
|
|
||||||
Cobra is a CLI library for Go that empowers applications.
|
|
||||||
This application is a tool to generate the needed files
|
|
||||||
to quickly create a Cobra application.`,
|
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
fmt.Println("strip called")
|
fmt.Println("strip called")
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user