Skip to content

Commit

Permalink
feat(plc4xbrowser): added subcommands for clear
Browse files Browse the repository at this point in the history
sruehl committed Aug 5, 2022
1 parent 1374543 commit 6aa9a57
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions plc4go/tools/plc4xbrowser/commands.go
Original file line number Diff line number Diff line change
@@ -387,6 +387,32 @@ var rootCommand = Command{
commandOutputClear()
return nil
},
subCommands: []Command{
{
Name: "message",
Description: "clears message output",
action: func(_ Command, _ string) error {
messageOutputClear()
return nil
},
},
{
Name: "console",
Description: "clears console output",
action: func(_ Command, _ string) error {
consoleOutputClear()
return nil
},
},
{
Name: "command",
Description: "clears command output",
action: func(_ Command, _ string) error {
commandOutputClear()
return nil
},
},
},
},
},
}

0 comments on commit 6aa9a57

Please sign in to comment.