Skip to content

add support for yaml output#54

Merged
privateip merged 1 commit intoitential:develfrom
privateip:output-yaml
Mar 6, 2025
Merged

add support for yaml output#54
privateip merged 1 commit intoitential:develfrom
privateip:output-yaml

Conversation

@privateip
Copy link
Member

This commit adds support for printing output using YAML format. This can be enabled by either passing yaml as an argument to --output or setting the value of default_output to yaml in the configuration.

Below show both examples:

Using the command line option

ipctl get workflow test --output yaml

Setting the default output in the config file

[terminal]
default_output = yaml

This commit adds support for printing output using YAML format.  This
can be enabled by either passing `yaml` as an argument to `--output` or
setting the value of `default_output` to `yaml` in the configuration.

Below show both examples:

Using the command line option
```
ipctl get workflow test --output yaml
```

Setting the default output in the config file

```
[terminal]
default_output = yaml
```
@privateip privateip merged commit 8ea36ed into itential:devel Mar 6, 2025
1 check passed
@privateip privateip deleted the output-yaml branch March 6, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant