{
  "id": "coder",
  "name": "Coder",
  "homepage": "https://coder.com",
  "description": "A tool for provisioning self-hosted development environments with Terraform.",
  "executables": [
    "coder"
  ],
  "dotfiles": {
    "paths": [
      "[appData]/coderv2/url"
    ],
    "secret": [
      "[appData]/coderv2/session"
    ],
    "exclude": []
  },
  "commands": {
    "format": 1,
    "label": "Coder workspaces",
    "description": "Create a workspace or open an SSH session into one. Parameter files, ephemeral parameters, org and auth options are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "create"
        ],
        "label": "Create a workspace",
        "source": [
          {
            "id": "docs",
            "kind": "manual",
            "url": "https://github.com/coder/coder/blob/main/docs/reference/cli/create.md",
            "revision": "main 2026-10",
            "evidence": "coder create [flags] [workspace]\n### -t, --template\n### --template-version\n### --preset\n### --stop-after\n### --no-wait\n### -y, --yes\n### --parameter\n"
          }
        ],
        "field": [
          {
            "id": "workspace",
            "label": "Workspace name",
            "type": "string",
            "position": 0,
            "sources": [
              "docs"
            ]
          },
          {
            "id": "template",
            "label": "Template",
            "type": "string",
            "option": [
              "--template",
              "-t"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "template_version",
            "label": "Template version",
            "type": "string",
            "option": [
              "--template-version"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "preset",
            "label": "Preset",
            "type": "string",
            "option": [
              "--preset"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "parameter",
            "label": "Parameters (name=value)",
            "type": "string",
            "option": [
              "--parameter"
            ],
            "multiple": true,
            "sources": [
              "docs"
            ]
          },
          {
            "id": "stop_after",
            "label": "Stop after (duration)",
            "type": "string",
            "option": [
              "--stop-after"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "no_wait",
            "label": "Do not wait for startup",
            "type": "boolean",
            "option": [
              "--no-wait"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "yes",
            "label": "Skip confirmations",
            "type": "boolean",
            "option": [
              "--yes",
              "-y"
            ],
            "sources": [
              "docs"
            ]
          }
        ],
        "task": [
          {
            "id": "create",
            "label": "Create from template",
            "fields": [
              "workspace",
              "template",
              "parameter",
              "preset"
            ],
            "required": [
              "template"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "workspace",
              "template",
              "template_version",
              "preset",
              "parameter"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "stop_after",
              "no_wait",
              "yes"
            ]
          }
        ]
      },
      {
        "path": [
          "ssh"
        ],
        "label": "SSH into a workspace",
        "source": [
          {
            "id": "docs",
            "kind": "manual",
            "url": "https://github.com/coder/coder/blob/main/docs/reference/cli/ssh.md",
            "revision": "main 2026-10",
            "evidence": "coder ssh [flags] <workspace> [command]\n### -t, --tty\n### -A, --forward-agent\n### -R, --remote-forward\n### -e, --env\n### --wait\n### --no-wait\n"
          }
        ],
        "field": [
          {
            "id": "workspace",
            "label": "Workspace",
            "type": "string",
            "position": 0,
            "sources": [
              "docs"
            ]
          },
          {
            "id": "command",
            "label": "Remote command",
            "type": "string",
            "position": 1,
            "sources": [
              "docs"
            ]
          },
          {
            "id": "forward_agent",
            "label": "Forward SSH agent",
            "type": "boolean",
            "option": [
              "--forward-agent",
              "-A"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "tty",
            "label": "Force a TTY",
            "type": "boolean",
            "option": [
              "--tty",
              "-t"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "env",
            "label": "Environment variables",
            "type": "string",
            "option": [
              "--env",
              "-e"
            ],
            "multiple": true,
            "sources": [
              "docs"
            ]
          },
          {
            "id": "remote_forward",
            "label": "Remote port forward",
            "type": "string",
            "option": [
              "--remote-forward",
              "-R"
            ],
            "multiple": true,
            "sources": [
              "docs"
            ]
          }
        ],
        "task": [
          {
            "id": "ssh",
            "label": "Open a shell",
            "fields": [
              "workspace",
              "forward_agent"
            ],
            "required": [
              "workspace"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "workspace",
              "command",
              "forward_agent",
              "tty"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "env",
              "remote_forward"
            ]
          }
        ]
      }
    ]
  }
}
