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

Suport struc tag "choices" #6

Open
davidxjohnson opened this issue Jun 2, 2021 · 0 comments
Open

Suport struc tag "choices" #6

davidxjohnson opened this issue Jun 2, 2021 · 0 comments

Comments

@davidxjohnson
Copy link

I've looked at quite a few command-line and configuration packages. My selection criteria - in order of preference - is:

  1. to focus on the use-case of writing GitHub actions (which rely on env vars). I don't need a configuration package that reads from a file, and accepts flags, and env vars - simpler is better for my needs.
  2. to support a "choices" tag to validate the env var. There is only one package out there that does this (that I could find) but doesn't use struc tags to do it.
  3. to find something relatively simple and well written that I can modify to do what I need.

After looking at the code in this project, I think it meets all my basic needs - except the "choices" struc tag - and doesn't look very hard to modify. I will fork this project and create a pull request when I have something complete, tested and documented.

hans-m-song added a commit to hans-m-song/goenv that referenced this issue Aug 30, 2024
hans-m-song added a commit to hans-m-song/goenv that referenced this issue Oct 19, 2024
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

No branches or pull requests

1 participant