github kionsoftware/kion-cli v0.3.0
Kion CLI v0.3.0

latest releases: v0.13.0, v0.12.0, v0.11.0...
15 months ago

You can now use Kion CLI with multiple instances of Kion through the use of configuration profiles or by pointing to alternate configuration files. Here are some usage examples:

# point to another configuration file
KION_CONFIG=~/.kion.development.yml kion stak

# use a 'development' profile within your ~/.kion.yml configuration file
kion --profile development fav sandbox

A configuration file for the profile usage example above would look something like this:

# default profile if none specified
kion:
  url: https://kion.mycompany.com
  api_key: "app_123"
favorites:
  - name: production
    account: "232323232323"
    cloud_access_role: ReadOnly

# alternate profiles called with the global `--profile [name]` flag
profiles:
  development:
    kion:
      url: https://dev.kion.mycompany.com
      api_key: "app_abc"
    favorites:
      - name: sandbox
        account: "121212121212"
        cloud_access_role: Admin

Added

  • Users can now set a custom config file with the KION_CONFIG environment variable [/pull/42]
  • Users can define profiles to use Kion CLI with multiple Kion instances [/pull/42]
  • Created a util command and flush-cache subcommand to flush the cache [/pull/42]

Fixed

  • Corrected an issue where the Kion CLI configuration file was not actually optional [/pull/42]

Don't miss a new kion-cli release

NewReleases is sending notifications on new releases.