mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-04-09 02:13:35 +00:00
improve consistency of tags
This commit is contained in:
@@ -11,8 +11,8 @@ import (
|
||||
type HeadampCmdGroup struct {
|
||||
Index struct {
|
||||
Index int `arg:"" help:"The index of the headamp."`
|
||||
Gain HeadampGainCmd `help:"Get or set the gain of the headamp." cmd:""`
|
||||
Phantom HeadampPhantomCmd `help:"Get or set the phantom power state of the headamp." cmd:""`
|
||||
Gain HeadampGainCmd `cmd:"" help:"Get or set the gain of the headamp."`
|
||||
Phantom HeadampPhantomCmd `cmd:"" help:"Get or set the phantom power state of the headamp."`
|
||||
} `arg:"" help:"Control a specific headamp by index."`
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ func gradualGainAdjust(
|
||||
|
||||
// HeadampPhantomCmd defines the command for getting or setting the phantom power state of a headamp, allowing users to specify the desired state as "true"/"on" or "false"/"off".
|
||||
type HeadampPhantomCmd struct {
|
||||
State *string `help:"The phantom power state of the headamp." arg:"" enum:"true,on,false,off" optional:""`
|
||||
State *string `arg:"" help:"The phantom power state of the headamp." enum:"true,on,false,off" optional:""`
|
||||
}
|
||||
|
||||
// Validate checks if the provided phantom power state is valid and normalises it to "true" or "false".
|
||||
|
||||
Reference in New Issue
Block a user