New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from go/flags to Cobra #7

alexellis opened this Issue Jan 6, 2019 · 0 comments


1 participant
Copy link

alexellis commented Jan 6, 2019

Move from the Golang flags package for the CLI options to Cobra.

Example/more details:

openfaas/faas-cli is a good sample to follow, or alexellis/jaas which is much smaller.

-server=true/false would become a sub-command along with client

inlets server --port
inlets client --port --remote / -r

The changes should also cover the / instructions.

Use git commit -s for commits.

@alexellis alexellis changed the title From from go/flags to Cobra Switch from go/flags to Cobra Jan 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment