Open buschNT opened 2 years ago
I think, if there is only one required argument then why not making it a positional argument (removing the --name
entirely)?
@SteinRobert As far as I can tell we removed the option to name bridges entirely. Hence, the --name
argument only refers to a local container instance. I still think we should also remove the --name
argument from the gefyra bridge
and replace it with a positional argument. Same for the target
argument.
For instance, gefyra bridge my-local-container deploy/my-deployment/cone
with no additional switches.
The port would still be missing. :thinking: Thinking is still in progress.
Since #137 has been opened, I wanted to mention the following observation. The
-N, --name
argument has a different meaning forgefyra run/bridge
andgefyra unbridge
:gefyra run/bridge
: The name of the container running in Gefyra...gefyra unbridge
: The name of the bridge to be removed...(https://gefyra.dev/reference/cli/)
The
gefyra unbridge
--name argument corresponds to thegefyra bridge
--bridge-name argument. Would it make sense to rename the --name argument from theunbridge
command into --bridge-name?