Transit Command Line
artifact:jar:dpml/transit/dpml-transit-console#1.0.4
Description
Command-line supporting the management of one or more transit configurations. The transit tool provides support for the addition, removal, and modification of hosts and layouts handlers together with functions supporting cache and proxy configuration maintenance.
Commandline
$ transit load <uri> | info | add <id> | set <id> | remove <id> | revert | help [-profile <uri>]
Options
load | Loads a plugin refernced by a supplied uri. |
info | Lists the current configration to console. |
add | Add a new host or layout handler. |
set | Update a feature of a host, layout, cache or proxy configuration. |
remove | Remove a host or layout handler. |
revert | Revert the configuration to factory defaults. |
help | List command help to console. |
profile | Override selection of the default configuration profile. |
Example
$ transit help
Usage: transit [-profile <uri> info|add|set|remove|revert|load <uri>|help] command -profile <uri> Configuration profile uri. info|add|set|remove|revert|load|help info List configuration. add host layout host <id> Add a new resource host. -url -username -password -priority -index -disabled -trusted -layout -scheme -prompt -url <url> Host URL (required). -username <username> Username. -password <password> Password. -priority <int> Host priority. -index <resource> Host index path. -disabled Disable the host. -trusted Assert as trusted host. -layout <id> Host layout strategy. -scheme <scheme> Host authentication scheme. -prompt <prompt> Host authentication prompt. layout <id> Add a new layout. -uri -title -uri <uri> Codebase URI (required). -title <name> Title. set Set an configuration aspect. proxy cache system host layout proxy Select proxy settings. -url -username -password -excludes -url <url> Host URL. -username <username> Username. -password <password> Password. -excludes <hosts> [<hosts> ...] Proxy excludes. cache Select cache settings. -dir -layout -dir <path> Directory. -layout <id> Host layout strategy. system Select system repository settings. -dir -layout -dir <path> Directory. -layout <id> Host layout strategy. host <id> Resource host selection. -url -username -password -priority -index -enabled|-disabled -trusted|-untrusted -layout -scheme -prompt -url <url> Host URL. -username <username> Username. -password <password> Password. -priority <int> Host priority. -index <resource> Host index path. -enabled|-disabled -enabled Enable the host. -disabled Disable the host. -trusted|-untrusted -trusted Assert as trusted host. -untrusted Assert as untrusted host. -layout <id> Host layout strategy. -scheme <scheme> Host authentication scheme. -prompt <prompt> Host authentication prompt. layout <id> Layout scheme selection. -uri -title -uri <uri> Codebase URI. -title <name> Title. remove host layout proxy host <id> Resource host selection. layout <id> Layout scheme selection. proxy Delete proxy settings. revert Set configuration to default. load <uri> Load a transit plugin. help Print command help.