Goby3 3.7.0
2026.11.12
Loading...
Searching...
No Matches
tool.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 GobyToolConfig
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 // core tools
21 help = 0 [(goby.ev).cfg = {
22 short_help_msg: "Print usage information",
23 full_help_msg: "Usage: \"goby help [action]\"\n"
24 "Provides detailed usage information on the provided action.\n"
25 "Example: \"goby help log\" provides help in the 'log' action\n"
26 "\n"
27 "You can also override the help command line flag used by running, for example, \"goby help -hh log\" to pass \"-hh\" to \"goby log\" in order to show advanced command line options"
28
29 }];
30 log = 1 [(goby.ev).cfg = {
31 short_help_msg: "Manage goby log files",
32 }];
33 launch = 2 [(goby.ev).cfg = {
34 short_help_msg: "Launch goby *.launch files, or a platform of a deployment file (goby launch fleet.yml --platform bot1)",
35 external_command: "goby_launch"
36 include_binary_flag: false
37 }];
38 test = 3 [(goby.ev).cfg = {
39 short_help_msg: "Run, validate or visualize publish/subscribe test files",
40 external_command: "goby_test_tool"
41 }];
42 interface = 4 [(goby.ev).cfg = {
43 short_help_msg: "Visualize the publish/subscribe interfaces of a deployment",
44 external_command: "goby_interface_tool"
45 }];
46
47 // middleware/transport
48 zeromq = 10 [(goby.ev).cfg = {
49 short_help_msg: "Interact with ZeroMQ Goby pub/sub",
50 external_command: "goby_zeromq_tool"
51 }];
52 udpm = 11 [(goby.ev).cfg = {
53 short_help_msg: "Interact with UDPM Goby pub/sub",
54 external_command: "goby_udpm_tool"
55 }];
56 zenoh = 12 [(goby.ev).cfg = {
57 short_help_msg: "Interact with Zenoh Goby pub/sub",
58 external_command: "goby_zenoh_tool"
59 }];
60
61 // middleware/marshalling
62 protobuf = 20 [(goby.ev).cfg = {
63 short_help_msg: "Tools for the Google Protocol Buffers (protobuf) marshalling scheme"
64 }];
65 }
66 optional Action action = 2 [
67 default = help,
68 (goby.field) = {
69 description: "The action this tool should take [can omit --action if 1st parameter]",
70 cfg { position: { enable: true }, cli_short: "A", action: HIDDEN }
71 }
72 ];
73}