diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-26 17:44:19 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-26 17:48:45 +0200 |
commit | 165d20eebc587f21f0409850b8e522c7a25979e3 (patch) | |
tree | fb127d7270b5a2f5152ab1dddeac306e38850c93 /docs/app-cat-conf.txt | |
parent | 2474a9e50e5d21ed6b3fd825d9fe565b79f62014 (diff) | |
download | app.sh-165d20eebc587f21f0409850b8e522c7a25979e3.tar.gz app.sh-165d20eebc587f21f0409850b8e522c7a25979e3.tar.bz2 app.sh-165d20eebc587f21f0409850b8e522c7a25979e3.tar.xz app.sh-165d20eebc587f21f0409850b8e522c7a25979e3.zip |
app-cat-conf: Removing -n argument, adding -k and -g for 'key' and
'group' lookups.
Diffstat (limited to 'docs/app-cat-conf.txt')
-rw-r--r-- | docs/app-cat-conf.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/docs/app-cat-conf.txt b/docs/app-cat-conf.txt new file mode 100644 index 0000000..0411390 --- /dev/null +++ b/docs/app-cat-conf.txt @@ -0,0 +1,53 @@ +app-cat-conf(1) +=============== + +NAME +---- +app-cat-conf - outputs a combined configuration file in a parseable +format + +SYNOPSIS +-------- +[verse] +'app-cat-conf' [-f <file>] [-D] [-l <location>] [-k <key>] + +DESCRIPTION +----------- +Outputs the combined file from all the input files. It will only +output a key once, the last value for each key seen will win. + +A configuration file is a collection of grouped keys and values, +similar to Git. + +The keys consits of two parts: a _group_ and a _name_. Both have to +match the regex `[a-zA-Z0-9]` and are combined with a dot. + +OPTIONS +------- +-f:: + The config file to use. If the value is '-', stdin will be used as + input. The option can be given multiple times. +-D:: + Disables the inclusion of the default files. +-k:: + Looks up the given key. +-l:: + Selects the location to use. + +LOCATIONS AND DEFAULT FILES +--------------------------- + +'app-cat-conf' will by default look for configuration files in three places: + +. $APPSH_HOME/lib/default-config + +. $HOME/.appconfig + +. .app/config + +SEE ALSO +-------- + +git-config(1) + +// vim: set ft=asciidoc: |