Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add data_dir option to command using a client #9263

Draft
wants to merge 1 commit into
base: acknowledges/3.2.2
Choose a base branch
from

Conversation

FirelightFlagboy
Copy link
Contributor

This was done by creating a group client_opts in clap_parser_with_shared_opts_builder macro and generating a ClientConfig using the provided value.

Other changes

  • load_client_with_config remove config_dir arg that is already present in config arg.
  • Remove the short option name for options defined by clap_parser_with_shared_opts_builder.
  • Remove start_client.

This was done by creating a group `client_opts` in
`clap_parser_with_shared_opts_builder` macro and generating a
`ClientConfig` using the provided value.

## Other changes

- `load_client_with_config` remove `config_dir` arg that is already
  present in `config` arg.
- Remove the short option name for options defined by
  `clap_parser_with_shared_opts_builder`.
- Remove `start_client`.
@FirelightFlagboy
Copy link
Contributor Author

TODOs

  • Add news fragment about supporting --data-dir in all commands that uses a client.
  • Add test for --data-dir for all commands that uses a client.
  • Add news fragment about the removal of short option for options defined by the macro clap_[..]_shared_opts_builder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant