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

Improve configuration #105

Merged
merged 8 commits into from
Nov 11, 2023
Merged

Improve configuration #105

merged 8 commits into from
Nov 11, 2023

Conversation

robinovitch61
Copy link
Owner

@robinovitch61 robinovitch61 commented Nov 11, 2023

Improvements:

  • make relevant options boolean flags rather than true/false strings
  • make relevant options ints rather than strings
  • simplify implementation of cobra + viper cli > env var > config file > default val priority
  • better example ~/.wander.yaml in README

Breaking changes:

  • fully remove wander_addr and wander_token options, replacing with nomad_addr and nomad_token
  • cli option boolean usage like --compact-header true must be replaced with --compact-header=true or just --compact-header

@robinovitch61 robinovitch61 changed the base branch from main to next November 11, 2023 02:21
@robinovitch61 robinovitch61 marked this pull request as ready for review November 11, 2023 02:52
@robinovitch61 robinovitch61 merged commit ccf1712 into next Nov 11, 2023
2 checks passed
@robinovitch61 robinovitch61 deleted the bool-flags branch November 11, 2023 02:52
robinovitch61 added a commit that referenced this pull request Nov 15, 2023
Improvements:
- make relevant options boolean flags rather than true/false strings
- make relevant options ints rather than strings
- simplify implementation of cobra + viper cli > env var > config file > default val priority
- better example `~/.wander.yaml` in README

Breaking changes:
- fully remove `wander_addr` and `wander_token` options, replacing with `nomad_addr` and `nomad_token`
- cli option boolean usage like `--compact-header true` must be replaced with `--compact-header=true` or just `--compact-header`
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