From 85ab3cbd29bd7882f06125ab6dd81d2bf9dc1d65 Mon Sep 17 00:00:00 2001 From: 030 <030@users.noreply.github.com> Date: Tue, 13 Nov 2018 12:11:04 +0100 Subject: [PATCH] [GH-20] update usage instructions --- README.md | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 6aa60bc..d6b991b 100644 --- a/README.md +++ b/README.md @@ -12,29 +12,24 @@ go-yq was created to prevent that pip has to be installed in order to install yq ``` [user@localhost go-yq]$ ./go-yq -h -Usage of ./go-yq: - -debug - Whether debugging should be enabled - -key string - Specify the key (default "key") - -yamlFile string - Path to a yaml file (default "file.yaml") +2018/11/13 12:07:39 Usage: go-yq +exit status 1 ``` ### example ``` -[user@localhost go-yq]$ ./go-yq -yamlFile /home/user/dev/ansible-firefox/defaults/main.yml -key firefox_version +[user@localhost go-yq]$ ./go-yq go run main.go .firefox_version ~/dev/ansible-firefox/defaults/main.yml ``` returns: ``` -62.0.3 +63.0.1 ``` -### dependencies +## Dependencies ``` go get github.com/spf13/viper -``` \ No newline at end of file +```