Make consul intention get allow for options after positional parameters
Open
theme/connect
type/enhancement
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
#### Feature Description
Currently you must use `consul intention get` with strict positional parameters. For instance:
- `consul intention get -token $token app web` is perfectly fine
- `consul intention get app web -token $token` is not fine
Most consul commands don't behave this way. Could we either make options like `-src` and `-dst` or just figure out a way to allow for options to come after the source and destination
#### Use Case(s)
- Easier to use
- Matches other command conventions
Contributor guide
Assessment
This issue has not been assessed yet.