deis / deis/workflow-cli

Add output format flag

Open
#238 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
31
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Introduce a output flag to provide structured output that is more suitable for programmatic usage of command output. To be familiar to Workflow users this should be similar to the `kubectl` implementation: `-o=`. Using `-o=json` should result in returning the JSON data directly from the REST API for the Controller. It might be nice to also provide YAML output (again for familiarity of `kubectl` users), but providing JSON alone may be sufficient.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.