From 6076c500405b7759845496dce6d3b9e1dc619cca Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 27 Jan 2013 12:18:39 +0100 Subject: bin/app-conf: More notes. --- bin/app-conf | 10 +++++++--- 1 file 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 -- cgit v1.2.3