apps-cli-plugin icon indicating copy to clipboard operation
apps-cli-plugin copied to clipboard

As an app dev, I can use autocomplete to provide the `--type` flag value when I run `tanzu apps create/apply`

Open heyjcollins opened this issue 2 years ago • 0 comments

Description of problem

The target cluster may include multiple supply chains which support several different workload types. Providing --type value autocomplete (if possible) will help app devs to provide the correct value for the flag and to discover what workload types are supported overall.

Proposed solution

Given I'm targeting a cluster including supply chains and runtime support for creating workloads of type "web", "tcp" and "queue"
When I run "tanzu apps workload create/apply my-app --type" and press <tab>
Then I see each of the three type options displayed for --type value for me to select

Additional context

Please investigate for feasibility and scope first so we can determine the whether it's worth the effort

heyjcollins avatar Jul 18 '22 19:07 heyjcollins