Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 1 | // This file was auto-generated via go generate. |
| 2 | // DO NOT UPDATE MANUALLY |
| 3 | |
| 4 | /* |
| 5 | The binary tool facilitates interaction with the veyron binary repository. |
| 6 | |
| 7 | Usage: |
| 8 | binary <command> |
| 9 | |
| 10 | The binary commands are: |
Jiri Simsa | 3540e3a | 2014-12-26 07:54:09 -0800 | [diff] [blame^] | 11 | delete Delete a binary |
| 12 | download Download a binary |
| 13 | upload Upload a binary |
| 14 | url Fetch a download URL |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 15 | help Display help for commands or topics |
| 16 | Run "binary help [command]" for command usage. |
| 17 | |
| 18 | The global flags are: |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 19 | -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 Simsa | 3540e3a | 2014-12-26 07:54:09 -0800 | [diff] [blame^] | 33 | -vanadium.i18n_catalogue= |
| 34 | 18n catalogue files to load, comma separated |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 35 | -veyron.credentials= |
| 36 | directory to use for storing security credentials |
Robin Thellend | 8fea01c | 2014-12-11 13:48:10 -0800 | [diff] [blame] | 37 | -veyron.namespace.root=[/ns.dev.v.io:8101] |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 38 | 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 Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 47 | |
| 48 | Binary Delete |
| 49 | |
| 50 | Delete connects to the binary repository and deletes the specified binary |
| 51 | |
| 52 | Usage: |
| 53 | binary delete <von> |
| 54 | |
| 55 | <von> is the veyron object name of the binary to delete |
| 56 | |
| 57 | Binary Download |
| 58 | |
| 59 | Download connects to the binary repository, downloads the specified binary, and |
| 60 | writes it to a file. |
| 61 | |
| 62 | Usage: |
| 63 | binary download <von> <filename> |
| 64 | |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 65 | <von> is the veyron object name of the binary to download <filename> is the name |
| 66 | of the file where the binary will be written |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 67 | |
| 68 | Binary Upload |
| 69 | |
| 70 | Upload connects to the binary repository and uploads the binary of the specified |
| 71 | file. When successful, it writes the name of the new binary to stdout. |
| 72 | |
| 73 | Usage: |
| 74 | binary upload <von> <filename> |
| 75 | |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 76 | <von> is the veyron object name of the binary to upload <filename> is the name |
| 77 | of the file to upload |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 78 | |
Jiri Simsa | 3540e3a | 2014-12-26 07:54:09 -0800 | [diff] [blame^] | 79 | Binary Url |
| 80 | |
| 81 | Connect to the binary repository and fetch the download URL for the given veyron |
| 82 | object name. |
| 83 | |
| 84 | Usage: |
| 85 | binary url <von> |
| 86 | |
| 87 | <von> is the veyron object name of the binary repository |
| 88 | |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 89 | Binary Help |
| 90 | |
| 91 | Help with no args displays the usage of the parent command. |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 92 | |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 93 | Help with args displays the usage of the specified sub-command or help topic. |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 94 | |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 95 | "help ..." recursively displays help for all commands and topics. |
| 96 | |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 97 | The output is formatted to a target width in runes. The target width is |
| 98 | determined by checking the environment variable CMDLINE_WIDTH, falling back on |
| 99 | the terminal width from the OS, falling back on 80 chars. By setting |
| 100 | CMDLINE_WIDTH=x, if x > 0 the width is x, if x < 0 the width is unlimited, and |
| 101 | if x == 0 or is unset one of the fallbacks is used. |
| 102 | |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 103 | Usage: |
| 104 | binary help [flags] [command/topic ...] |
| 105 | |
| 106 | [command/topic ...] optionally identifies a specific sub-command or help topic. |
| 107 | |
Cosmos Nicolaou | d83b90b | 2014-11-30 15:01:31 -0800 | [diff] [blame] | 108 | The binary help flags are: |
| 109 | -style=text |
| 110 | The formatting style for help output, either "text" or "godoc". |
Todd Wang | 0d12d71 | 2014-10-06 17:25:41 -0700 | [diff] [blame] | 111 | */ |
| 112 | package main |