2 import "google/protobuf/descriptor.proto";
6 extend .google.protobuf.FieldOptions
8 // Email from liujisi@google.com on 7.22.2011: Please use 1009 for all types
10 // --------------------------------
11 // Project: Goby Underwater Autonomy Project
12 // Contact: Toby Schneider <tes@mit.edu>
13 // Web site: https://launchpad.net/goby
14 // Extensions: 1009 (all types)
15 // --------------------------------
16 optional GobyFieldOptions field = 1009;
19 extend .google.protobuf.MessageOptions
21 optional GobyMessageOptions msg = 1009;
24 extend .google.protobuf.EnumValueOptions
26 optional GobyEnumValueOptions ev = 1009;
29 message GobyFieldOptions
31 optional string description = 100;
32 optional string example = 101;
34 // used in goby_moos_app.proto
35 optional string moos_global = 102;
37 message ConfigurationOptions
39 optional string cli_short = 1;
48 optional ConfigAction action = 2 [default = ALWAYS];
51 optional bool enable = 1 [default = false];
52 optional int32 max_count = 2 [default = 1];
54 optional Position position = 3;
55 optional string env = 4;
57 optional ConfigurationOptions cfg = 200;
60 message GobyMessageOptions
62 optional string convertible_from =
63 100; // tags this message as convertible from another existing message
64 // type based on field names
66 message ConfigurationOptions
70 optional bool is_tool = 1 [
72 ]; // set configuration reader parameters to be more suitable for a
73 // tool rather than a publish/subscribe app
74 optional bool has_subtools = 2
76 false]; // if true, reads only parameters up to the first
77 // positional parameter (assumed to be an action)
78 optional bool has_help_action = 3 [
80 ]; // if true, do not output "Usage" with the default
81 // --help, and do not exit after auto help
83 optional Tool tool = 1;
85 optional ConfigurationOptions cfg = 200;
88 message GobyEnumValueOptions
90 message ConfigurationOptions
92 optional string external_command = 1;
93 optional string external_help_param = 2 [default = "-h"];
94 optional string short_help_msg = 3;
95 optional string full_help_msg = 4;
96 optional bool include_binary_flag = 5 [default = true];
98 optional ConfigurationOptions cfg = 200;