Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.
This repository was archived by the owner on May 18, 2026. It is now read-only.

workload get -o and workload list -o accepts yaml and/or yml #72

@heyjcollins

Description

@heyjcollins

Description of problem

Workload get and workload list commands acceptyaml as an --output value today.
Because yml is a valid extension for the same file-type, we should accept yml and/or yaml

Proposed solution

Given I have a workload named foo
When I run `tanzu apps workload get foo -o yml`
Then the output from the command is exactly the same as if I ran `tanzu apps workload get foo -o yaml`
Given I have created workloads on my target cluster
When I run `tanzu apps workload list -o yml`
Then the output from the command is exactly the same as if I ran `tanzu apps workload list -o yaml`

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions