Skip to content

feat: Allow passing a custom header #258

@esacteksab

Description

@esacteksab

Right now, we detect whether terraform or tofu is being used, then we set Terraform Plan or Tofu Plan in the Markdown. It might make sense to allow a person to pass their own value.

Possible considerations:

  • header: key in .tp.toml
  • --header via CLI flag
  • TP_MD_HEADER environment variable

A bit of a tangent, but it may make sense to consider some full-blown templating engine for greater formatting capabilities, but that feels like a tremendous amount of "scope creep". I'm more inclined to just document cat plan.md >> my-other-template.md && gh pr create -F my-other-template.md or something and let folks do their thing there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions