Skip to content

Force format of output #330

@squaremo

Description

@squaremo

jk transform and jk generate both have a --stdout argument, which will print all the objects to stdout. But this balks if the objects have different formats (either because the generation function gave them different formats, or because transform read them from files with different formats).

For the purpose eyeballing the results, it'd be good to be able to just force the format of everything to either YAML or JSON (these are the formats with a stream variation). In fact, this might be useful even when writing to files (and should change the extension!).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions