amazon-qldb-shell
amazon-qldb-shell copied to clipboard
2.0 - \env shows "ledgers: none"
In the shell, I can list tables, but then I found myself asking which ledger I was actively using. I figured \env would give me this. Note: i started the shell with --ledger and do not have a default ledger configured.
when I run \env I get ledgers: None
qldb> \env
ShellConfig { ui: UiConfig { auto_commit: false, prompt: None, format: Ion, edit_mode: Vi, display_welcome: false, display_ctrl_signals: false, display_query_metrics: false, terminator_required: false }, debug: DebugConfig { log: None }, default_ledger: None, ledgers: None }
should it say ledgers: vehicle-registration?
\env is definitely a work in progress. It should be considered it an "unstable feature" at this point.
The underlying concept is to print the base config, any environment overrides, command line parameters and so forth. Right now, it just prints the base config.