Skip to content

Instantly share code, notes, and snippets.

@pgroves
Created October 11, 2012 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pgroves/3874659 to your computer and use it in GitHub Desktop.
Save pgroves/3874659 to your computer and use it in GitHub Desktop.
Generated config file for cliawesome example app (navelgazer)
# NavelGazer
# This awesome demo prints out the values of it's arguments. Below
# are the individual options.
---
###############
## Verbosity ##
###############
## How much info to print during execution
## + This option may be left unspecified.
## + It may be set here or on the command line.
## * Valid arguments for verbosity are [verbose, quiet]
#verbosity: verbose
verbosity: quiet
#####################
## Switch Option A ##
#####################
## This is a pretty cool example of an option that can be one of
## several values. If more than one is specified, the last one is
## used.
## + This option may be left unspecified.
## + It may be set here or on the command line.
## * Valid arguments for switchA are [switchA_case2, switchA_case1]
#switchA: switchA_case2
switchA: switchA_case1
####################
## Value Option C ##
####################
## The long form documetation of option C. Notice that this is set in
## the config file only. It also expects two values. The generated
## config file will have valid defaults set by the developer that you
## can just uncomment out.
## + This option may be left unspecified.
## + It can only be set by a config file.
#valueC:
# - blue
# - green
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment