1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-05 10:20:53 +02:00
go-micro/examples/flags
Niek den Breeje 9a77c06b44
Move from micro/cli/v2 to urfave/cli/v2 (#2224)
* Use urfave/cli/v2 instead of micro/cli/v2

Wherever possible we may want to eliminate the use of github.com/micro
imports.

* Fix broken cli test
2021-08-31 09:05:08 +01:00
..
main.go Move from micro/cli/v2 to urfave/cli/v2 (#2224) 2021-08-31 09:05:08 +01:00
README.md Add examples 2020-12-26 15:17:20 +00:00

Flags

This is an example of using command line flags

Run the example

go run main.go --string_flag="a string" --int_flag=10 --bool_flag=true

And that's all there is to it.