From c03492ec87e500b2b00fa408331153f114a4a74d Mon Sep 17 00:00:00 2001 From: "Wayne E. Seguin" Date: Sun, 3 Jun 2012 20:39:28 -0400 Subject: [PATCH] Updated readme to reflect code update. --- README.md | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 2d245fa..27f38c2 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,18 @@ - NAME + NAME - sm-json - find variable in json file + sm-json - find variable in json file - SYNOPSIS + SYNOPSIS - Usage of ./sm-mustache: - -path="{path}": path to value - -uri="{uri}": json uri or path to file + sm-json [options] - -uri|--uri "{uri}" - - specify the json file to use + OPTIONS + -path="{path}" path to retrieve value from + -path|--path "{path}" path to retrieve value from + -uri="{uri}" json uri (url or path to file) + -uri|--uri "{uri}" json uri (url or path to file) - -path|--path "{path}" + DESCRIPTION - specify the path to variable - - DESCRIPTION + Opens a json file from --uri and returns the value found at the given --path - sm-json will read the given json file and get value.