-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat: set up project skeleton for new CLI #1
Conversation
jobs: | ||
- lint | ||
- build | ||
- test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eventually we might want a pre-step to cache dependencies. If we hit that point, we'll need to deal with golang/go#43994
"os" | ||
"time" | ||
|
||
"github.com/urfave/cli/v2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Risking an innovation token on urfave/cli
over spf13/cobra
. cobra
has always felt more heavyweight/verbose to me than a CLI parser needs to be. cli
looks very similar to the kit/cli
convenience wrapper in influxdb
.
If we hit a wall with it, we can fall back to using cobra
and copy the code from influxdb
.
Closes #2
version
command implementedMakefile
to be the source-of-truth for build/test/lint commands