I've just upgraded to Elastic 8, which meant upgrading elastic-curator as well. When using the new version of curator_cli, it insists that I specify the --config parameter. I don't think this parameter should be mandatory.
Actual Behavior
When I invoke curator_cli without the --config parameter, I receive the following message:
The error message returned when invoking curator_cli is: Error: Invalid value for '--config': Path '/xxxxxxxxxxxx/.curator/curator.yml' does not exist.
I would prefer to be able to specify all parameters via the CLI, versus having to supply a "defaults" file for some/all of the parameters. As a workaround, I have added "--config /dev/null" to the CLI paramaters to get curator_cli to run.
Detailed Description
I believe that the --config parameter should be optional instead of mandatory. The current Elastic documentation (here: https://www.elastic.co/guide/en/elasticsearch/client/curator/current/singleton-cli.html) states that the YML configuration file is not required.
Ideally, the documentation should clearly state that by default curator_cli will look for and use ~/.curator/curator.yml if it exists.
Expected Behavior
Hi,
I've just upgraded to Elastic 8, which meant upgrading elastic-curator as well. When using the new version of curator_cli, it insists that I specify the --config parameter. I don't think this parameter should be mandatory.
Actual Behavior
When I invoke curator_cli without the --config parameter, I receive the following message: The error message returned when invoking curator_cli is: Error: Invalid value for '--config': Path '/xxxxxxxxxxxx/.curator/curator.yml' does not exist.
Steps to Reproduce the Problem
Specifications
Context (Environment)
I would prefer to be able to specify all parameters via the CLI, versus having to supply a "defaults" file for some/all of the parameters. As a workaround, I have added "--config /dev/null" to the CLI paramaters to get curator_cli to run.
Detailed Description
I believe that the --config parameter should be optional instead of mandatory. The current Elastic documentation (here: https://www.elastic.co/guide/en/elasticsearch/client/curator/current/singleton-cli.html) states that the YML configuration file is not required. Ideally, the documentation should clearly state that by default curator_cli will look for and use ~/.curator/curator.yml if it exists.