target: only target flags which higher specificity shall be available for subcommands #195
Closed
Description
opened on Dec 7, 2022
What would you like to be added:
Currently the target flags --garden
, --project
, --shoot
, --seed
, --control-plane
are available for the target
and all of its subcommands.
Clarify if
- we want to keep it this way and allow sth. like
target project myproject --garden mygarden
OR - the target flags should only be available if none of the target-subcommand is used (
target --garden mygarden
)
3) only target flags with a higher specificity are allowed. Sotarget project myproject --shoot myshoot
would be ok but nottarget project myproject --garden mygarden
would not.
Why is this needed:
follow up for #85
Activity