From 1a31edf573420042549a0954eea5a8184ce466d3 Mon Sep 17 00:00:00 2001 From: Tom Morelly Date: Mon, 26 Apr 2021 11:41:07 +0200 Subject: [PATCH] show demo --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 677ab3c..009d26f 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,34 @@ This template serves as a starting point for golang commandline applications bas * [pkg/](https://pkg.go.dev/github.com/FalcoSuessgott/golang-cli-template/pkg) => packages that are okay to import for other projects * [internal/](https://pkg.go.dev/github.com/FalcoSuessgott/golang-cli-template/pkg) => packages that are only for project internal purposes +# Demo Application + +```sh +$> go run *.go -h +Develop and deploy infrastructure configurations on multiple provider + +Usage: + golang-cli-template [flags] + golang-cli-template [command] + +Available Commands: + example example subcommand which adds or multiplies two given integers + help Help about any command + version Displays d4sva binary version + +Flags: + -h, --help help for golang-cli-template + +Use "golang-cli-template [command] --help" for more information about a command. +``` + +```sh +$> go run *.go 2 5 --add +7 + +$> go run *.go 2 5 --multiply +10 +``` # Makefile Targes ## format