{
  "slug": "azd-init-template-supports-local-directories-95f6507db0a1",
  "title": "azd init --template supports local directories",
  "tools": [
    "azd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-28T01:10:21.000Z",
  "announced_at": "2026-02-28T01:10:21.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When iterating on a template in a local directory, pass its path to `azd init --template` to initialize from it without pushing it to a remote repository.",
    "examples": [
      "azd init --template <local-directory-path>"
    ],
    "gotchas": [
      "Version: 1.23.7",
      "--template, -t <path> (required for this task) (required): Initializes an application from a template; accepts a local directory path, including `./dir`, `../dir`, or an absolute path.",
      "Prerequisite: Azure Developer CLI (`azd`) installed.",
      "Docs conflict: Current command reference says `azd init --template` creates a new directory named after the template, with `.` to initialize in the current directory. This behavior may be newer than version 1.23.7; the reference does not state when it changed."
    ]
  },
  "why_it_matters": "Iterate on a template stored in a local directory without pushing it to a remote repository.",
  "sources": [
    "https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.23.7",
    "https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/reference",
    "https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/get-started"
  ],
  "rank": 0.98026,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-53c3c74bdd98ac82-0:gate",
    "evidence_hash": "156d9ff89fd6cc310d33d1627808988d6205a9cf4d0236c0d047006df1cf569b"
  },
  "review": {
    "draft_hash": "768c065b0400691519d1f3eb636e499ef55b7f09785da09db5e9b17c5000b99f",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.70 (>= 0.6 needed)."
  }
}
