Skip to content

dev/sg: flags after arguments

Created by: bobheadxi

Tracks upstream: https://github.com/urfave/cli/issues/976 , which points to https://github.com/urfave/cli/issues/585 but tbh that seems unrelated

Feedback: https://sourcegraph.slack.com/archives/C01N83PS4TU/p1651712115089879

We could potentially fix this with a contribution upstream

Specific example:

  • sg ci build main-dry-run -force is not allowed
  • sg ci build -force main-dry-run is allowed