blob: 38079887e624a377dc0fffb9a7be23af1f4ee7e6 [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/*
5The binary tool facilitates interaction with the veyron binary repository.
6
7Usage:
8 binary <command>
9
10The binary commands are:
Jiri Simsa3540e3a2014-12-26 07:54:09 -080011 delete Delete a binary
12 download Download a binary
13 upload Upload a binary
14 url Fetch a download URL
Todd Wang0d12d712014-10-06 17:25:41 -070015 help Display help for commands or topics
16Run "binary 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
39 -veyron.vtrace.cache_size=1024
40 The number of vtrace traces to store in memory.
41 -veyron.vtrace.dump_on_shutdown=false
42 If true, dump all stored traces on runtime shutdown.
43 -veyron.vtrace.sample_rate=0
44 Rate (from 0.0 to 1.0) to sample vtrace traces.
45 -vmodule=
46 comma-separated list of pattern=N settings for file-filtered logging
Todd Wang0d12d712014-10-06 17:25:41 -070047
48Binary Delete
49
50Delete connects to the binary repository and deletes the specified binary
51
52Usage:
53 binary delete <von>
54
55<von> is the veyron object name of the binary to delete
56
57Binary Download
58
59Download connects to the binary repository, downloads the specified binary, and
60writes it to a file.
61
62Usage:
63 binary download <von> <filename>
64
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -080065<von> is the veyron object name of the binary to download <filename> is the name
66of the file where the binary will be written
Todd Wang0d12d712014-10-06 17:25:41 -070067
68Binary Upload
69
70Upload connects to the binary repository and uploads the binary of the specified
71file. When successful, it writes the name of the new binary to stdout.
72
73Usage:
74 binary upload <von> <filename>
75
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -080076<von> is the veyron object name of the binary to upload <filename> is the name
77of the file to upload
Todd Wang0d12d712014-10-06 17:25:41 -070078
Jiri Simsa3540e3a2014-12-26 07:54:09 -080079Binary Url
80
81Connect to the binary repository and fetch the download URL for the given veyron
82object name.
83
84Usage:
85 binary url <von>
86
87<von> is the veyron object name of the binary repository
88
Todd Wang0d12d712014-10-06 17:25:41 -070089Binary Help
90
91Help with no args displays the usage of the parent command.
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -080092
Todd Wang0d12d712014-10-06 17:25:41 -070093Help with args displays the usage of the specified sub-command or help topic.
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -080094
Todd Wang0d12d712014-10-06 17:25:41 -070095"help ..." recursively displays help for all commands and topics.
96
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -080097The output is formatted to a target width in runes. The target width is
98determined by checking the environment variable CMDLINE_WIDTH, falling back on
99the terminal width from the OS, falling back on 80 chars. By setting
100CMDLINE_WIDTH=x, if x > 0 the width is x, if x < 0 the width is unlimited, and
101if x == 0 or is unset one of the fallbacks is used.
102
Todd Wang0d12d712014-10-06 17:25:41 -0700103Usage:
104 binary help [flags] [command/topic ...]
105
106[command/topic ...] optionally identifies a specific sub-command or help topic.
107
Cosmos Nicolaoud83b90b2014-11-30 15:01:31 -0800108The binary help flags are:
109 -style=text
110 The formatting style for help output, either "text" or "godoc".
Todd Wang0d12d712014-10-06 17:25:41 -0700111*/
112package main