Closed stvnksslr closed 3 months ago
reuse the variable declared for the default to prevent drift between teller new and file lookup
fixes #273
Rationale for changes to tests if the -c flag is passed teller should use this name/path and test to make sure its finding the correct one.
if no config is passed the config naming should follow the convention of teller new
teller new
❯ ls -lah | grep teller.yml .rw-r--r-- 182 stvnksslr 14 May 12:19 .teller.yml .rw-r--r-- 182 stvnksslr 14 May 12:51 teller.yml teller on bugfix/273 [!?] via 🦀 v1.79.0-nightly ❯ ./target/debug/teller -c teller.yml show [aws_secretsmanager_1 (aws_secretsmanager)]: TOKEN = *** teller on bugfix/273 [!?] via 🦀 v1.79.0-nightly ❯ ./target/debug/teller show [aws_secretsmanager_1 (aws_secretsmanager)]: TOKEN = ***
Looks great, thanks!
reuse the variable declared for the default to prevent drift between teller new and file lookup
fixes #273
Rationale for changes to tests if the -c flag is passed teller should use this name/path and test to make sure its finding the correct one.
if no config is passed the config naming should follow the convention of
teller new