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

rename a few config options for consistency #57

Merged
merged 1 commit into from
May 27, 2020
Merged

Conversation

ploxiln
Copy link
Owner

@ploxiln ploxiln commented May 26, 2020

config:

  • proxy-prefix -> proxy_prefix
  • google_group -> google_groups
  • github_team -> github_teams

flags:

  • tls-cert -> tls-cert-file
  • tls-key -> tls-key-file

flags always use dashes, config options always use underscores

flags are singular if they can be specified multiple times,
config options are plural if they take a list

inspired by oauth2-proxy/oauth2-proxy#186

Co-authored-by: Joel Speed [email protected]

@ploxiln ploxiln force-pushed the options_consistency branch 3 times, most recently from b315d1b to d3119e3 Compare May 27, 2020 05:15
config:
  * proxy-prefix -> proxy_prefix
  * google_group -> google_groups
  * github_team  -> github_teams

flags:
  * tls-cert -> tls-cert-file
  * tls-key -> tls-key-file

flags always use dashes, config options always use underscores

flags are singular if they can be specified multiple times,
config options are plural if they take a list

inspired by oauth2-proxy/oauth2-proxy#186

Co-authored-by: Joel Speed <[email protected]>
@ploxiln ploxiln force-pushed the options_consistency branch from d3119e3 to f68d247 Compare May 27, 2020 05:32
@ploxiln ploxiln merged commit ca6193b into master May 27, 2020
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