Skip to content

Decouple file IO from commands in CLI #305

Closed
@caufieldjh

Description

@caufieldjh

This came up in discussion of #279.
CLI commands currently parse the template name and take that as a file location, but in practice it may be more helpful to have them accept a pre-parsed object in a process parallel to that of writing (e.g., the output could be YAML or HTML or whatever, but we don't handle that in the command).
This would make it easier for pre- and post-processing functions to know which template is currently being used since it will already be loaded, rather than isolated to a single CLI command.

Metadata

Metadata

Assignees

No one assigned

    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