Update example file with json commands
This commit is contained in:
@@ -450,7 +450,7 @@ func LoadCommandsFromTomlFile(tomlFileData []byte) ([]ModifyCommand, map[string]
|
||||
// TOML structure for commands array and top-level modifiers
|
||||
var tomlData struct {
|
||||
Modifiers map[string]interface{} `toml:"modifiers,omitempty"`
|
||||
Commands []ModifyCommand `toml:"commands"`
|
||||
Commands []ModifyCommand `toml:"commands"`
|
||||
// Also support direct array without wrapper
|
||||
DirectCommands []ModifyCommand `toml:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user