Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Latest commit

 

History

History
52 lines (38 loc) · 1.9 KB

File metadata and controls

52 lines (38 loc) · 1.9 KB

corectl context set

Set a context to the current configuration

Synopsis

Set a context to the current configuration

This command creates or updates a context by using the supplied flags and any relevant config information found in the config file (if any). The information stored will be engine url, headers and certificates (if present) along with comment and the context-name.

corectl context set <context name> [flags]

Examples

corectl context set local-engine
corectl context set rd-sense --engine localhost:9076 --comment "R&D Qlik Sense deployment"

Options

      --comment string   Comment for the context
  -h, --help             help for set

Options inherited from parent commands

  -a, --app string               Name or identifier of the app
      --certificates string      path/to/folder containing client.pem, client_key.pem and root.pem certificates
  -c, --config string            path/to/config.yml where parameters can be set instead of on the command line
      --context string           Name of the context used when connecting to Qlik Associative Engine
  -e, --engine string            URL to the Qlik Associative Engine (default "localhost:9076")
      --headers stringToString   Http headers to use when connecting to Qlik Associative Engine (default [])
      --insecure                 Enabling insecure will make it possible to connect using self signed certificates
      --json                     Returns output in JSON format if possible, disables verbose and traffic output
      --no-data                  Open app without data
  -t, --traffic                  Log JSON websocket traffic to stdout
      --ttl string               Qlik Associative Engine session time to live in seconds (default "0")
  -v, --verbose                  Log extra information

SEE ALSO