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

Replace multiple CLI options with a single --config-file option #7

Open
mdpiper opened this issue Feb 26, 2021 · 1 comment
Open

Replace multiple CLI options with a single --config-file option #7

mdpiper opened this issue Feb 26, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@mdpiper
Copy link
Member

mdpiper commented Feb 26, 2021

The bmi-topography CLI includes the following options for configuring a call to the OpenTopography REST API:

  • dem_type
  • south
  • north
  • west
  • east
  • output_format

It's cumbersome to set all of these options. The CLI would easier to use and script if values for these options were instead placed in a text configuration file (e.g., yaml or toml), then referenced with an option such as --config-file.

@mdpiper
Copy link
Member Author

mdpiper commented Feb 26, 2021

The above is from a suggestion by @mcflugen. He also suggests hardcoding the name of the config file; e.g., it must be named bmi-toppography.toml.

@mdpiper mdpiper added the enhancement New feature or request label Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant