Subcommands example is based on the urfave/cli subcommands 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
Subcommands example is based on the urfave/cli subcommands 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