Skip to content
🎉 Welcome! Prompt Central is currently in BETA.
Template

Template

Name

template - template expansion utilizing Go text/template syntax

Syntax

template <TEMPLATE>...
  [--data <stringSlice>]
  [-D|--define <stringSlice>]
  [--dryrun]
  [-X|--exclude <stringSlice>]
  [-f|--force]
  [-h|--help]
  [--llm]
  [-o|--output <string>]
  [-v|--verbose]
  [--version]

Description

The template program introduces the concept of multi-file aggregation of YAML front matter and document contents.

Options

  • --data

    Specify data files (Default: [])

  • -D|--define

    Define variables as NAME=VALUE (Default: [])

  • --dryrun

    Perform a dry run without outputting anything (Default: false)

  • -X|--exclude

    Exclude patterns (Default: [])

  • -f|--force

    Force overwrite of output file (Default: false)

  • -h|--help

    help for template (Default: false)

  • --llm

    Output help and usage information as Markdown and exit (Default: false)

  • -o|--output

    Output file

  • -v|--verbose

    Enable verbose output (Default: false)

  • --version

    Print the version (Default: false)