diff --git a/go-gopher-cli/README.md b/go-gopher-cli/README.md index 85d4f15..ad11ac1 100644 --- a/go-gopher-cli/README.md +++ b/go-gopher-cli/README.md @@ -55,3 +55,18 @@ Perfect! Just saved in friends.png! $ file friends.png friends.png: PNG image data, 1156 x 882, 8-bit/color RGBA, non-interlaced ``` + +or + +``` +$ task run -- [command] + +$ task run -- get friends +task: [run] GOFLAGS=-mod=mod go run main.go get friends +Try to get 'friends' Gopher... +Perfect! Just saved in friends.png! + + +$ file friends.png +friends.png: PNG image data, 1838 x 1408, 8-bit/color RGBA, non-interlaced +``` \ No newline at end of file diff --git a/go-gopher-cli/Taskfile.yml b/go-gopher-cli/Taskfile.yml index 39a3dbf..84f81e1 100644 --- a/go-gopher-cli/Taskfile.yml +++ b/go-gopher-cli/Taskfile.yml @@ -9,7 +9,7 @@ tasks: run: desc: Run the app cmds: - - GOFLAGS=-mod=mod go run main.go + - GOFLAGS=-mod=mod go run main.go {{.CLI_ARGS}} clean: desc: Remove all retrieved *.png files