stk-legacy init
Description
stk-legacy init
command is used to initialize and configure the STK CLI tool in your environment.
How does it work?
The command shows a list of all available parameters and allows you to set the proxy and disable certificates.
Parameters
Check the available options in the command:
Parameters | Description |
---|---|
-f ou --force-update | Forces the plugin catalogs to be updated before the automatic update, which occurs 24 hours after the last update. |
-o ou --plugins-offline | Sets the Stacks catalogs to work in offline mode by default. This is used when STK CLI users do not have permission to clone GitHub repositories. |
-k ou --disable-ssl-verify | Disables SSL certificate verification. It is used when the proxy in private VPN environments returns invalid certificates for Github. |
-p ou --proxy <host>:<port> | Sets up a proxy to handle HTTP connections. |
-c ou --clean | Clears previous settings. It is used to remove default settings. |
-e ou --proxy-exclusions <url-proxy1>,<url-proxy-2> | Defines a comma-separated list of URLs that should not connect to the configured proxy. |
Examples
Check out an example:
stk-legacy init --proxy proxy.mycorp:8080 --disable-ssl-verify --clean
Command execution:
Was this page helpful?