Flags example is based on the urfave/cli flag example.
In our case we generate a Cobra CLI.
Code is already generated. You can generate it again from yaml file using:
clipper spec.yaml
Then run:
go run main.go
Flags example is based on the urfave/cli flag example.
In our case we generate a Cobra CLI.
Code is already generated. You can generate it again from yaml file using:
clipper spec.yaml
Then run:
go run main.go