aboutsummaryrefslogtreecommitdiff
path: root/bin/app-conf
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-27 12:18:39 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-27 12:18:39 +0100
commit6076c500405b7759845496dce6d3b9e1dc619cca (patch)
tree77bc1a0fa29ccb3c3ba388ae594be6bfa132c95a /bin/app-conf
parent110ffae47db27a49bbc43f86ba3737bccc1b3085 (diff)
downloadapp.sh-6076c500405b7759845496dce6d3b9e1dc619cca.tar.gz
app.sh-6076c500405b7759845496dce6d3b9e1dc619cca.tar.bz2
app.sh-6076c500405b7759845496dce6d3b9e1dc619cca.tar.xz
app.sh-6076c500405b7759845496dce6d3b9e1dc619cca.zip
bin/app-conf: More notes.
Diffstat (limited to 'bin/app-conf')
-rwxr-xr-xbin/app-conf10
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/app-conf b/bin/app-conf
index 7193c20..b890d6d 100755
--- a/bin/app-conf
+++ b/bin/app-conf
@@ -1,8 +1,6 @@
#!/bin/bash
-# TODO: Add a 'get' command that returns a single value
-# Exit with 0 if found, 1 otherwise.
-
+# HEADER START
if [[ $APPSH_HOME == "" ]]
then
APPSH_HOME=`dirname "$0"`
@@ -10,6 +8,12 @@ then
fi
. $APPSH_HOME/lib/common
+# HEADER END
+
+# TODO: Add a 'get' command that returns a single value
+# If -r (required) given, exit with 0 if found, 1 otherwise.
+# TODO: Add -s (shell) output, `app-conf get -s maven.artifact_id` => MAVEN_ARTIFACT_ID=..
+# Can be used like set -- `app-conf get -s maven.artifact_id maven.group_id`
PATH=$APPSH_HOME/libexec:$PATH