github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/flags/README.md (about)

     1  # Flags
     2  
     3  This is an example of using command line flags
     4  
     5  ## Run the example
     6  
     7  ```shell
     8  go run main.go --string_flag="a string" --int_flag=10 --bool_flag=true
     9  ```
    10  
    11  And that's all there is to it.