Skip to content
/ flagfile Public

Package flagfile converts a flag file into flag-compatible arguments.

License

Notifications You must be signed in to change notification settings

layeh/flagfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flagfile GoDoc

Package flagfile converts a flag file into flag-compatible arguments.

A flag file is alternative way to provide command-line flags for a program. For example, the below arguments:

./example --enable-video --user=tim --user=dave --size 3 --message="hello\tworld"

Would be stored in the flag file as the following:

# Enable video output
enable-video

# Enable audio output
#enable-audio

# List of administrative users
user tim
user dave

# Initial size
size 3

# Message for new users
message "hello\tworld"

License

MPL 2.0

Author

Tim Cooper ([email protected])

About

Package flagfile converts a flag file into flag-compatible arguments.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages