sincecutoff.com
← all changes

glab templates accept file paths with --template

Introduced 2026-10-20 · score 0.95

HOW TO USE IT

When creating an issue or merge request with a description template, pass its file path to `--template`.

glab issue create -t "<title>" --template "<repository-file-path>"
glab mr create -t "<title>" --template "<repository-file-path>"

WHY THIS HELPS

Render output using a template stored in a repository file.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.124.0
  • --template <path> (required): Pre-populates the description. An absolute path or a value containing a path separator is read as a file path.
  • -t, --title <title>: Sets the issue title.
  • -t, --title <title>: Sets the merge request title.
  • Prerequisite: For a path relative to the repository, run the command from that local repository; the docs specify that templates are looked up in its template directory or read as a file path.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card