Problem
The work:report command always loads configuration from the hardcoded default ~/.config/work-reporter/config.yaml (see src/Config/YamlConfigProvider.php). There is no way to point the CLI at a different config file.
Proposal
Add a --config / -c option to bin/console work:report accepting a path to a YAML config file. When provided, YamlConfigProvider should be instantiated with this path instead of the default.
Acceptance criteria
bin/console work:report --config /path/to/config.yaml loads the given file.
- Short form
-c works identically.
- Without the option, current default behavior is preserved.
Problem
The
work:reportcommand always loads configuration from the hardcoded default~/.config/work-reporter/config.yaml(seesrc/Config/YamlConfigProvider.php). There is no way to point the CLI at a different config file.Proposal
Add a
--config/-coption tobin/console work:reportaccepting a path to a YAML config file. When provided,YamlConfigProvidershould be instantiated with this path instead of the default.Acceptance criteria
bin/console work:report --config /path/to/config.yamlloads the given file.-cworks identically.