Make ArgoCD CLI login preserve the port forward arguments to not need to specify them when running other commands #20565
Labels
component:cli
Affects the Argo CD CLI
enhancement
New feature or request
good first issue
Good for newcomers
Summary
When people specify the --port-forward and --port-forward-namespace in the argocd login command, they should be preserved when running other commands, i.e. there should be no need to specify them again for each command.
Motivation
In the current state the port forwarding arguments need to be specified for each command run by the cli. Or, kubectl port forwarding should be used. This is rather cumbersome and it would be more convenient to save those params after login.
Proposal
Save port forward params in some cache after cli login, similar to how auth information can be saved.
The text was updated successfully, but these errors were encountered: