{
  "id": "deployctl",
  "name": "deployctl",
  "homepage": "https://github.com/denoland/deployctl",
  "description": "deployctl is the command line tool for Deno Deploy.",
  "icon": "theSVG:deno/light",
  "executables": [
    "deployctl"
  ],
  "dotfiles": {
    "paths": [],
    "exclude": [
      "~/.deno/deployctl/update.json"
    ],
    "secret": [
      "~/.deno/deployctl/credentials.json"
    ]
  },
  "commands": {
    "format": 1,
    "label": "Deploy to Deno Deploy",
    "description": "Deploy an entrypoint with deployctl deploy. The API token option is left out; use the DENO_DEPLOY_TOKEN environment variable.",
    "quality": "ai-draft",
    "base": "fig:deployctl",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/deployctl.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "deploy"
        ],
        "label": "Deploy a script",
        "description": "Uploads the entrypoint and static files from the current directory.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/deployctl.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "project",
            "label": "Project",
            "type": "string",
            "option": [
              "--project",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "entrypoint",
            "label": "Entrypoint",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "prod",
            "label": "Production deployment",
            "type": "boolean",
            "option": [
              "--prod"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_static",
            "label": "Do not include static files",
            "type": "boolean",
            "option": [
              "--no-static"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "include",
            "label": "Include pattern",
            "type": "string",
            "option": [
              "--include"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "exclude",
            "label": "Exclude pattern",
            "type": "string",
            "option": [
              "--exclude"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "preview",
            "label": "Preview deployment",
            "fields": [
              "project",
              "entrypoint"
            ],
            "required": [
              "project",
              "entrypoint"
            ]
          },
          {
            "id": "prod",
            "label": "Production deployment",
            "set": {
              "prod": [
                true
              ]
            },
            "fields": [
              "project",
              "entrypoint",
              "prod"
            ],
            "required": [
              "project",
              "entrypoint"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "project",
              "entrypoint",
              "prod"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "no_static",
              "include",
              "exclude"
            ]
          }
        ]
      }
    ]
  }
}
