Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
log.proto
Go to the documentation of this file.
1syntax = "proto2";
2import "goby/middleware/protobuf/app_config.proto";
3import "goby/protobuf/option_extensions.proto";
4
5package goby.apps.middleware.protobuf;
6
7message UnifiedLogToolConfig
8{
9 option (goby.msg).cfg.tool = {
10 is_tool: true
11 has_subtools: true
12 has_help_action: true
13 };
14
15 optional goby.middleware.protobuf.AppConfig app = 1
16 [(goby.field) = { cfg { action: DEVELOPER } }];
17
18 enum Action
19 {
20 help = 0 [(goby.ev).cfg = {
21 short_help_msg: "Print usage information",
22 full_help_msg: "Usage: \"goby log help [action]\""
23 }];
24 convert = 1 [(goby.ev).cfg = {
25 short_help_msg: "Convert .goby log files to other formats",
26 }];
27 }
28 optional Action action = 2 [
29 default = help,
30 (goby.field) = {
31 description: "The action this tool should take [can omit --action if 1st parameter]",
32 cfg { position: { enable: true }, cli_short: "A", action: HIDDEN }
33 }
34 ];
35}