blob: f5ff56d2df944dbe5aa84f8383feceb0bd0e051a [file] [log] [blame]
Todd Wang0d12d712014-10-06 17:25:41 -07001// This file was auto-generated via go generate.
2// DO NOT UPDATE MANUALLY
3
4/*
Todd Wang06eeab02015-01-20 11:34:14 -08005The vrpc tool provides command-line access to Vanadium servers via Remote
6Procedure Call.
Todd Wang0d12d712014-10-06 17:25:41 -07007
8Usage:
9 vrpc <command>
10
11The vrpc commands are:
Todd Wang06eeab02015-01-20 11:34:14 -080012 signature Describe the interfaces of a Vanadium server
13 call Call a method of a Vanadium server
14 identify Reveal blessings presented by a Vanadium server
Todd Wang0d12d712014-10-06 17:25:41 -070015 help Display help for commands or topics
16Run "vrpc help [command]" for command usage.
17
18The global flags are:
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -080019 -alsologtostderr=true
20 log to standard error as well as files
21 -log_backtrace_at=:0
22 when logging hits line file:N, emit a stack trace
23 -log_dir=
24 if non-empty, write log files to this directory
25 -logtostderr=false
26 log to standard error instead of files
27 -max_stack_buf_size=4292608
28 max size in bytes of the buffer to use for logging stack traces
29 -stderrthreshold=2
30 logs at or above this threshold go to stderr
31 -v=0
32 log level for V logs
Jiri Simsa3540e3a2014-12-26 07:54:09 -080033 -vanadium.i18n_catalogue=
34 18n catalogue files to load, comma separated
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -080035 -veyron.credentials=
36 directory to use for storing security credentials
Robin Thellend8fea01c2014-12-11 13:48:10 -080037 -veyron.namespace.root=[/ns.dev.v.io:8101]
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -080038 local namespace root; can be repeated to provided multiple roots
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -080039 -veyron.vtrace.cache_size=1024
40 The number of vtrace traces to store in memory.
Todd Wang06eeab02015-01-20 11:34:14 -080041 -veyron.vtrace.collect_regexp=
42 Spans and annotations that match this regular expression will trigger trace
43 collection.
44 -veyron.vtrace.dump_on_shutdown=true
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -080045 If true, dump all stored traces on runtime shutdown.
46 -veyron.vtrace.sample_rate=0
47 Rate (from 0.0 to 1.0) to sample vtrace traces.
48 -vmodule=
49 comma-separated list of pattern=N settings for file-filtered logging
Todd Wang0d12d712014-10-06 17:25:41 -070050
Todd Wang06eeab02015-01-20 11:34:14 -080051Vrpc Signature
Todd Wang0d12d712014-10-06 17:25:41 -070052
Todd Wang06eeab02015-01-20 11:34:14 -080053Signature connects to the Vanadium server identified by <server>.
54
55If no [method] is provided, returns all interfaces implemented by the server.
56
57If a [method] is provided, returns the signature of just that method.
Todd Wang0d12d712014-10-06 17:25:41 -070058
59Usage:
Todd Wang06eeab02015-01-20 11:34:14 -080060 vrpc signature <server> [method]
Todd Wang0d12d712014-10-06 17:25:41 -070061
Todd Wang06eeab02015-01-20 11:34:14 -080062<server> identifies a Vanadium server. It can either be the object address of
63the server, or an object name that will be resolved to an end-point.
Todd Wang0d12d712014-10-06 17:25:41 -070064
Todd Wang06eeab02015-01-20 11:34:14 -080065[method] is the optional server method name.
Todd Wang0d12d712014-10-06 17:25:41 -070066
Todd Wang06eeab02015-01-20 11:34:14 -080067Vrpc Call
68
69Call connects to the Vanadium server identified by <server> and calls the
70<method> with the given positional [args...], returning results on stdout.
71
72TODO(toddw): stdin is read for streaming arguments sent to the server. An EOF
73on stdin (e.g. via ^D) causes the send stream to be closed.
74
75Regardless of whether the call is streaming, the main goroutine blocks for
76streaming and positional results received from the server.
77
78All input arguments (both positional and streaming) are specified as VDL
79expressions, with commas separating multiple expressions. Positional arguments
80may also be specified as separate command-line arguments. Streaming arguments
81may also be specified as separate newline-terminated expressions.
82
83The method signature is always retrieved from the server as a first step. This
84makes it easier to input complex typed arguments, since the top-level type for
85each argument is implicit and doesn't need to be specified.
Todd Wang0d12d712014-10-06 17:25:41 -070086
87Usage:
Todd Wang06eeab02015-01-20 11:34:14 -080088 vrpc call <server> <method> [args...]
Todd Wang0d12d712014-10-06 17:25:41 -070089
Todd Wang06eeab02015-01-20 11:34:14 -080090<server> identifies a Vanadium server. It can either be the object address of
91the server, or an object name that will be resolved to an end-point.
Todd Wang0d12d712014-10-06 17:25:41 -070092
Todd Wang06eeab02015-01-20 11:34:14 -080093<method> is the server method to call.
Todd Wang0d12d712014-10-06 17:25:41 -070094
Todd Wang06eeab02015-01-20 11:34:14 -080095[args...] are the positional input arguments, specified as VDL expressions.
96
97Vrpc Identify
98
99Identify connects to the Vanadium server identified by <server> and dumps out
100the blessings presented by that server (and the subset of those that are
101considered valid by the principal running this tool) to standard output.
102
103Usage:
104 vrpc identify <server>
105
106<server> identifies a Vanadium server. It can either be the object address of
107the server, or an object name that will be resolved to an end-point.
Todd Wang0d12d712014-10-06 17:25:41 -0700108
109Vrpc Help
110
111Help with no args displays the usage of the parent command.
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -0800112
Todd Wang0d12d712014-10-06 17:25:41 -0700113Help with args displays the usage of the specified sub-command or help topic.
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -0800114
Todd Wang0d12d712014-10-06 17:25:41 -0700115"help ..." recursively displays help for all commands and topics.
116
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -0800117The output is formatted to a target width in runes. The target width is
118determined by checking the environment variable CMDLINE_WIDTH, falling back on
119the terminal width from the OS, falling back on 80 chars. By setting
120CMDLINE_WIDTH=x, if x > 0 the width is x, if x < 0 the width is unlimited, and
121if x == 0 or is unset one of the fallbacks is used.
122
Todd Wang0d12d712014-10-06 17:25:41 -0700123Usage:
124 vrpc help [flags] [command/topic ...]
125
126[command/topic ...] optionally identifies a specific sub-command or help topic.
127
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -0800128The vrpc help flags are:
129 -style=text
130 The formatting style for help output, either "text" or "godoc".
Todd Wang0d12d712014-10-06 17:25:41 -0700131*/
132package main