This repository was archived by the owner on Jul 8, 2022. It is now read-only.
2.0.0
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.runanddry-runrequire an unnamed argument specifying the input folder.exportrequires an unnamed argument specifying the output folder.--hostis always required.--portis optional and defaults to8001.--userand--passwordare optional, but need to either both be specified or both be absent. The--passwordoption allows passing the value from redirectedstdin. - A previously undocumented feature for reading the command-line options from environment variables has been removed.
- The exit codes have changed to:
0- Success1- 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)