Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Starting in CDAP 6.1.4, the option --uri is deprecated. Use --link option instead.

The CLI can be started with command-line options:

Expand
titleLinux

usage: cdap cli [--autoconnect <true|false>] [--debug] [--help]
[--verify-ssl <true|false>] [--uri <uri>][--script
<script-file>]
-a,--autoconnect <arg> If "true", try provided connection (from uri)
upon launch or try default connection if none
provided. Defaults to "true".
-d,--debug Print exception stack traces.
-h,--help Print the usage message.
-s,--script <arg> Execute a file containing a series of CLI
commands, line-by-line.
-u,--uri <arg> CDAP instance URI to interact with in the format
"[http[s]://]<hostname>[:<port>[/<namespace>]]".
Defaults to
"http://<hostname>.local:11015".
-v,--verify-ssl <arg> If "true", verify SSL certificate when making
requests. Defaults to "true".

Expand
titleWindows

usage: cdap.bat cli [--autoconnect <true|false>] [--debug] [--help]
[--verify-ssl <true|false>] [--uri <uri>][--script
<script-file>]
-a,--autoconnect <arg> If "true", try provided connection (from uri)
upon launch or try default connection if none
provided. Defaults to "true".
-d,--debug Print exception stack traces.
-h,--help Print the usage message.
-s,--script <arg> Execute a file containing a series of CLI commands, line-by-line.
-u,--uri <arg> CDAP instance URI to interact with in the format
"[http[s]://]<hostname>[:<port>[/<namespace>]]".
Defaults to
"http://<hostname>.local:11015".
-v,--verify-ssl <arg> If "true", verify SSL certificate when making
requests. Defaults to "true".

Settings

Certain commands (cli render as, connect-link, and use namespace) affect how the CLI works for the duration of a session.

...