Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

2.0.0

Choose a tag to compare

@shaynevanasperen shaynevanasperen released this 14 Dec 12:34
· 35 commits to master since this release
6e8d5d2

Added support for authenticating against the Kong Admin API using Basic Authentication.

Some breaking changes were made in this release:

  • The command-line arguments are parsed differently. We now have three actual commands that can be specified on the command-line (run/dry-run/export). The options which apply to all commands (--host, --port, --user, --password) need to be specified first, followed by one of the commands, and then any arguments to that command. run and dry-run require an unnamed argument specifying the input folder. export requires an unnamed argument specifying the output folder. --host is always required. --port is optional and defaults to 8001. --user and --password are optional, but need to either both be specified or both be absent. The --password option allows passing the value from redirected stdin.
  • A previously undocumented feature for reading the command-line options from environment variables has been removed.
  • The exit codes have changed to:
    • 0 - Success
    • 1 - Unspecified error (with error message output to console)
    • 2 - Host unreachable (with error message output to console)
    • 3 - Input folder unreachable (with error message output to console)
    • 4 - Invalid configuration files(s) (with error message output to console)