Skip to content

Little helper module for creating flags with multiple names (e.g. -r, -R & --recursive)

License

Notifications You must be signed in to change notification settings

aporcupine/multiflag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

multiflag

Little helper module for creating flags with multiple names (e.g. -r, -R & --recursive)

https://godoc.org/github.com/aporcupine/multiflag

Usage Example

import "github.com/aporcupine/multiflag"

var (
  recursive = multiflag.Bool(false, "remove recursively", "r", "R", "recursive")
  config = multiflag.String("/etc/myconfig", "location of config file", "c", "config")
)

About

Little helper module for creating flags with multiple names (e.g. -r, -R & --recursive)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages