hashicorp / hashicorp/consul

Make consul intention get allow for options after positional parameters

Open
#5,658 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.