Skip to content
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

Try downgrading to urfave/cli v1 #147

Closed
danxmoran opened this issue Jun 24, 2021 · 1 comment · Fixed by #154
Closed

Try downgrading to urfave/cli v1 #147

danxmoran opened this issue Jun 24, 2021 · 1 comment · Fixed by #154
Assignees

Comments

@danxmoran
Copy link
Contributor

danxmoran commented Jun 24, 2021

urfave/cli is currently pretty strict about the ordering of flags & args on the CLI. This breaks some of our old CLI examples that pass flags after args. There's an upstream issue to relax the ordering constraint (urfave/cli#1113), but it sounds like some users have had success in just using v1 of the module (buildkite/agent#1286). Try downgrading and see what goes wrong.

@danxmoran danxmoran assigned danxmoran and unassigned danxmoran Jun 24, 2021
@danxmoran
Copy link
Contributor Author

There's a v1->v2 migration guide here. We should be able to apply the steps in reverse after downgrading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant