Todd Wang | 1624bf9 | 2015-04-22 16:53:57 -0700 | [diff] [blame] | 1 | // Copyright 2015 The Vanadium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | // This file was auto-generated via go generate. |
| 6 | // DO NOT UPDATE MANUALLY |
| 7 | |
| 8 | /* |
| 9 | Command deviced is used to launch, configure and manage the deviced daemon, |
| 10 | which implements the v.io/v23/services/device interfaces. |
| 11 | |
| 12 | Usage: |
Todd Wang | 1624bf9 | 2015-04-22 16:53:57 -0700 | [diff] [blame] | 13 | deviced |
Todd Wang | f1550cf | 2015-05-11 10:58:41 -0700 | [diff] [blame] | 14 | deviced <command> |
Todd Wang | 1624bf9 | 2015-04-22 16:53:57 -0700 | [diff] [blame] | 15 | |
| 16 | The deviced commands are: |
| 17 | install Install the device manager. |
| 18 | uninstall Uninstall the device manager. |
| 19 | start Start the device manager. |
| 20 | stop Stop the device manager. |
| 21 | profile Dumps profile for the device manager. |
| 22 | help Display help for commands or topics |
| 23 | |
| 24 | The global flags are: |
| 25 | -deviced-port=0 |
| 26 | the port number of assign to the device manager service. The hostname/IP |
| 27 | address part of --v23.tcp.address is used along with this port. By default, |
| 28 | the port is assigned by the OS. |
| 29 | -name= |
| 30 | name to publish the device manager at |
| 31 | -neighborhood-name= |
| 32 | if provided, it will enable sharing with the local neighborhood with the |
| 33 | provided name. The address of the local mounttable will be published to the |
| 34 | neighboorhood and everything in the neighborhood will be visible on the local |
| 35 | mounttable. |
| 36 | -proxy-port=0 |
| 37 | the port number to assign to the proxy service. 0 means no proxy service. |
| 38 | -restart-exit-code=0 |
| 39 | exit code to return when device manager should be restarted |
| 40 | -use-pairing-token=false |
| 41 | generate a pairing token for the device manager that will need to be provided |
| 42 | when a device is claimed |
| 43 | |
Arup Mukherjee | 0cf0158 | 2015-09-04 13:23:02 -0700 | [diff] [blame] | 44 | -agentsock= |
| 45 | Path to the application's security agent socket. |
Todd Wang | 1624bf9 | 2015-04-22 16:53:57 -0700 | [diff] [blame] | 46 | -alsologtostderr=true |
| 47 | log to standard error as well as files |
Arup Mukherjee | c6dd50e | 2015-04-23 15:20:56 -0700 | [diff] [blame] | 48 | -chown=false |
| 49 | Change owner of files and directories given as command-line arguments to the |
| 50 | user specified by this flag |
Todd Wang | 1624bf9 | 2015-04-22 16:53:57 -0700 | [diff] [blame] | 51 | -dryrun=false |
| 52 | Elides root-requiring systemcalls. |
| 53 | -kill=false |
| 54 | Kill process ids given as command-line arguments. |
| 55 | -log_backtrace_at=:0 |
| 56 | when logging hits line file:N, emit a stack trace |
| 57 | -log_dir= |
| 58 | if non-empty, write log files to this directory |
| 59 | -logdir= |
| 60 | Path to the log directory. |
| 61 | -logtostderr=false |
| 62 | log to standard error instead of files |
| 63 | -max_stack_buf_size=4292608 |
| 64 | max size in bytes of the buffer to use for logging stack traces |
Jiri Simsa | 26f1c4d | 2015-08-09 17:49:40 -0700 | [diff] [blame] | 65 | -metadata=<just specify -metadata to activate> |
| 66 | Displays metadata for the program and exits. |
Todd Wang | 1624bf9 | 2015-04-22 16:53:57 -0700 | [diff] [blame] | 67 | -minuid=501 |
| 68 | UIDs cannot be less than this number. |
| 69 | -progname=unnamed_app |
| 70 | Visible name of the application, used in argv[0] |
| 71 | -rm=false |
| 72 | Remove the file trees given as command-line arguments. |
| 73 | -run= |
| 74 | Path to the application to exec. |
| 75 | -stderrthreshold=2 |
| 76 | logs at or above this threshold go to stderr |
| 77 | -username= |
| 78 | The UNIX user name used for the other functions of this tool. |
| 79 | -v=0 |
| 80 | log level for V logs |
| 81 | -v23.credentials= |
| 82 | directory to use for storing security credentials |
| 83 | -v23.i18n-catalogue= |
| 84 | 18n catalogue files to load, comma separated |
Todd Wang | 1624bf9 | 2015-04-22 16:53:57 -0700 | [diff] [blame] | 85 | -v23.namespace.root=[/(dev.v.io/role/vprod/service/mounttabled)@ns.dev.v.io:8101] |
| 86 | local namespace root; can be repeated to provided multiple roots |
| 87 | -v23.permissions.file=map[] |
| 88 | specify a perms file as <name>:<permsfile> |
| 89 | -v23.permissions.literal= |
| 90 | explicitly specify the runtime perms as a JSON-encoded access.Permissions. |
| 91 | Overrides all --v23.permissions.file flags. |
| 92 | -v23.proxy= |
| 93 | object name of proxy service to use to export services across network |
| 94 | boundaries |
| 95 | -v23.tcp.address= |
| 96 | address to listen on |
| 97 | -v23.tcp.protocol=wsh |
| 98 | protocol to listen with |
| 99 | -v23.vtrace.cache-size=1024 |
| 100 | The number of vtrace traces to store in memory. |
| 101 | -v23.vtrace.collect-regexp= |
| 102 | Spans and annotations that match this regular expression will trigger trace |
| 103 | collection. |
| 104 | -v23.vtrace.dump-on-shutdown=true |
| 105 | If true, dump all stored traces on runtime shutdown. |
| 106 | -v23.vtrace.sample-rate=0 |
| 107 | Rate (from 0.0 to 1.0) to sample vtrace traces. |
| 108 | -vmodule= |
Cosmos Nicolaou | 6c36388 | 2015-06-02 11:51:27 -0700 | [diff] [blame] | 109 | comma-separated list of pattern=N settings for filename-filtered logging |
| 110 | -vpath= |
| 111 | comma-separated list of pattern=N settings for file pathname-filtered logging |
Todd Wang | 1624bf9 | 2015-04-22 16:53:57 -0700 | [diff] [blame] | 112 | -workspace= |
| 113 | Path to the application's workspace directory. |
| 114 | |
| 115 | Deviced install |
| 116 | |
| 117 | Performs installation of device manager into V23_DEVICE_DIR (if the env var |
| 118 | set), or into the current dir otherwise |
| 119 | |
| 120 | Usage: |
| 121 | deviced install [flags] [-- <arguments for device manager>] |
| 122 | |
| 123 | Arguments to be passed to the installed device manager |
| 124 | |
| 125 | The deviced install flags are: |
| 126 | -agent= |
| 127 | path to security agent |
| 128 | -devuser= |
| 129 | if specified, device manager will run as this user. Provided by devicex but |
| 130 | ignored . |
| 131 | -from= |
| 132 | if specified, performs the installation from the provided application |
| 133 | envelope object name |
| 134 | -init_helper= |
| 135 | path to sysinit helper |
| 136 | -init_mode=false |
| 137 | if set, installs the device manager with the system init service manager |
| 138 | -origin= |
| 139 | if specified, self-updates will use this origin |
| 140 | -session_mode=false |
| 141 | if set, installs the device manager to run a single session. Otherwise, the |
| 142 | device manager is configured to get restarted upon exit |
| 143 | -single_user=false |
| 144 | if set, performs the installation assuming a single-user system |
| 145 | -suid_helper= |
| 146 | path to suid helper |
| 147 | |
| 148 | Deviced uninstall |
| 149 | |
| 150 | Removes the device manager installation from V23_DEVICE_DIR (if the env var |
| 151 | set), or the current dir otherwise |
| 152 | |
| 153 | Usage: |
| 154 | deviced uninstall [flags] |
| 155 | |
| 156 | The deviced uninstall flags are: |
| 157 | -suid_helper= |
| 158 | path to suid helper |
| 159 | |
| 160 | Deviced start |
| 161 | |
| 162 | Starts the device manager installed under from V23_DEVICE_DIR (if the env var |
| 163 | set), or the current dir otherwise |
| 164 | |
| 165 | Usage: |
| 166 | deviced start |
| 167 | |
| 168 | Deviced stop |
| 169 | |
| 170 | Stops the device manager installed under from V23_DEVICE_DIR (if the env var |
| 171 | set), or the current dir otherwise |
| 172 | |
| 173 | Usage: |
| 174 | deviced stop |
| 175 | |
| 176 | Deviced profile |
| 177 | |
| 178 | Prints the internal profile description for the device manager. |
| 179 | |
| 180 | Usage: |
| 181 | deviced profile |
| 182 | |
Todd Wang | 1144045 | 2015-05-29 18:05:29 -0700 | [diff] [blame] | 183 | Deviced help - Display help for commands or topics |
Todd Wang | 1624bf9 | 2015-04-22 16:53:57 -0700 | [diff] [blame] | 184 | |
| 185 | Help with no args displays the usage of the parent command. |
| 186 | |
| 187 | Help with args displays the usage of the specified sub-command or help topic. |
| 188 | |
| 189 | "help ..." recursively displays help for all commands and topics. |
| 190 | |
Todd Wang | 1624bf9 | 2015-04-22 16:53:57 -0700 | [diff] [blame] | 191 | Usage: |
| 192 | deviced help [flags] [command/topic ...] |
| 193 | |
| 194 | [command/topic ...] optionally identifies a specific sub-command or help topic. |
| 195 | |
| 196 | The deviced help flags are: |
| 197 | -style=compact |
| 198 | The formatting style for help output: |
| 199 | compact - Good for compact cmdline output. |
| 200 | full - Good for cmdline output, shows all global flags. |
| 201 | godoc - Good for godoc processing. |
| 202 | Override the default by setting the CMDLINE_STYLE environment variable. |
Todd Wang | f1550cf | 2015-05-11 10:58:41 -0700 | [diff] [blame] | 203 | -width=<terminal width> |
| 204 | Format output to this target width in runes, or unlimited if width < 0. |
| 205 | Defaults to the terminal width if available. Override the default by setting |
| 206 | the CMDLINE_WIDTH environment variable. |
Todd Wang | 1624bf9 | 2015-04-22 16:53:57 -0700 | [diff] [blame] | 207 | */ |
| 208 | package main |