GitXplorerGitXplorer
e

env

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
3a91f461a7aa3bdf668ea5dd94b984deae797392

update readme to mention -h/--help usage message changes

eedoput committed 2 months ago
Unverified
3386fafdb947dfe9261b5774e2cfe0c26d5c1e77

print default environment when passing -h

eedoput committed 2 months ago
Unverified
31dc84326f865a015be98e9260cc584ee9f1aa9f

add purpose of this package to README

eedoput committed 2 months ago
Unverified
dde4cb9e9c52b5aecedc6373e2f423332220521a

add README and LICENSE

eedoput committed 2 months ago
Unverified
43cb4e4ca276781a549914b4bfbeb8578a5da7e5

copy docs from stdlib's flag package

eedoput committed 2 months ago
Unverified
f242a5c682de03a04f362d738af7ca00442e2e89

implement default environment variables description

eedoput committed 2 months ago

README

The README file for this repository.

env

This is a copy of the flag package adapted to work with environment variables.

Use this package to:

  • Define different environment variables, their default value, and description.
  • Define different environments, e.g. one set of environment variables for each subcommand.
  • Get a description of the environment variables defined using the -h/--help command line flag parsing behavior.
  • Get a description of the environment variables defined by setting HELP or H.
  • Add support for your types to be used as environment variables.