amazon-qldb-shell icon indicating copy to clipboard operation
amazon-qldb-shell copied to clipboard

2.0 - \env shows "ledgers: none"

Open brack opened this issue 4 years ago • 1 comments

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?

brack avatar Sep 08 '21 23:09 brack

\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.

marcbowes avatar Sep 09 '21 21:09 marcbowes