Skip to content

[Improvement] add functionality --output json to commands #337

@kingsleyck-ntnx

Description

@kingsleyck-ntnx

The goal of this improvement is to make the output of Calm DSL commands consumable in an object-oriented way by other automation or scripts, including CI/CD pipelines.

Current behaviour

DSL commands currently return a combination of strings and json as output. To use this output downstream requires string parsing to retrieve basic details like success/fail or more detailed information such as day 2 actions available in a successful app launch.

Expected behaviour

An option such as --output json or -o json that returns output details in an object-oriented format rather than human-readable would facilitate a variety of new use cases for DSL.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions