aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-10-20 18:09:50 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2013-10-20 20:23:30 +0200
commit11cf17750885324a58a68d237b0ac29bc3a6269b (patch)
tree474da312f12a82629b495b5901c10ea49b08e98c /docs
parentd2e3a3795f345fd78ead2cf06b1134b46f9d4bc4 (diff)
downloadapp.sh-11cf17750885324a58a68d237b0ac29bc3a6269b.tar.gz
app.sh-11cf17750885324a58a68d237b0ac29bc3a6269b.tar.bz2
app.sh-11cf17750885324a58a68d237b0ac29bc3a6269b.tar.xz
app.sh-11cf17750885324a58a68d237b0ac29bc3a6269b.zip
o Making all app-conf options except import use <-l location>.
o Setting $HOME to the temporary area when testing. o Adding test docs for app-conf.
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile9
-rw-r--r--docs/app-conf.txt24
2 files changed, 33 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 0000000..f9ae4ea
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,9 @@
+TXT=$(wildcard *.txt)
+HTML=$(patsubst %.txt,%.html,$(TXT))
+all: $(HTML)
+
+%.html: %.txt
+ asciidoc -a data-uri -a icons -a toc -a max-width=55em $<
+
+clean:
+ rm -rf $(wildcard *.html)
diff --git a/docs/app-conf.txt b/docs/app-conf.txt
new file mode 100644
index 0000000..27d995a
--- /dev/null
+++ b/docs/app-conf.txt
@@ -0,0 +1,24 @@
+app-conf(1)
+===========
+
+NAME
+----
+app-conf - configuration management
+
+
+SYNOPSIS
+--------
+[verse]
+'app-conf' get <name>
+'app-conf' list
+'app-conf' set <name> <value>
+'app-conf' delete <name>
+'app-conf' import <file>
+
+DESCRIPTION
+-----------
+
+Interface to the configuration values used by 'app.sh'. Modelled after
+the 'git-config' command. 'list' is the default command
+
+// vim: set ft=asciidoc: