Skip to content

Commit

Permalink
Badges
Browse files Browse the repository at this point in the history
  • Loading branch information
efixler committed Feb 16, 2024
1 parent db30b81 commit 458b1e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# envflags
[![Go Reference](https://pkg.go.dev/badge/github.com/efixler/envflags.svg)](https://pkg.go.dev/github.com/efixler/envflags)
[![Build status](https://github.com/efixler/envflags/actions/workflows/test.yml/badge.svg)](https://github.com/efixler/envflags/actions/workflows/test.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/efixler/envflags)](https://goreportcard.com/report/github.com/efixler/envflags)
[![License MIT](https://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat)](https://github.com/efixler/envflags?tab=MIT-1-ov-file)

## Description
`envflags` is for when you need to provide alternative environment variable settings for command
Expand Down Expand Up @@ -45,7 +47,7 @@ level = logLevel.Get()
```

### Adding Environment Variable Names to Usage
`envars` provides a utility function that will add environment variable specs to usage
`envflags` provides a utility function that will add environment variable specs to usage
entries, while also adding a flag to a `flags.FlagSet`.

Instead of calling `flags.Var()` as in the example above, do:
Expand Down

0 comments on commit 458b1e6

Please sign in to comment.