Add --co alias for --config-override (#1397)

This commit is contained in:
Micah Jerome Ellison 2022-02-05 13:04:23 -08:00 committed by Jonathan Wren
parent 8be1c2e58a
commit 7fd1a9903a
2 changed files with 14 additions and 0 deletions

View file

@ -45,6 +45,11 @@ Feature: Implementing Runtime Overrides for Select Configuration Keys
When we run "jrnl -1 --config-override colors.body blue"
Then the config in memory should contain "colors.body: blue"
Scenario: Override color selections with --co alias
Given we use the config "basic_encrypted.yaml"
And we use the password "test" if prompted
When we run "jrnl -1 --co colors.body blue"
Then the config in memory should contain "colors.body: blue"
Scenario: Apply multiple config overrides
Given we use the config "basic_encrypted.yaml"