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 }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/deployctl.ts"
license = "MIT"
[[commands.subcommand]]
path = ["deploy"]
label = "Deploy a script"
description = "Uploads the entrypoint and static files from the current directory."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/deployctl.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "project"
label = "Project"
type = "string"
option = ["--project", "-p"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "entrypoint"
label = "Entrypoint"
type = "path"
position = 0
path = { kind = "file", role = "input" }
sources = ["fig"]
[[commands.subcommand.field]]
id = "prod"
label = "Production deployment"
type = "boolean"
option = ["--prod"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "no_static"
label = "Do not include static files"
type = "boolean"
option = ["--no-static"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "include"
label = "Include pattern"
type = "string"
option = ["--include"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "exclude"
label = "Exclude pattern"
type = "string"
option = ["--exclude"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "preview"
label = "Preview deployment"
fields = ["project", "entrypoint"]
required = ["project", "entrypoint"]
[[commands.subcommand.task]]
id = "prod"
label = "Production deployment"
set = { prod = [true] }
fields = ["project", "entrypoint", "prod"]
required = ["project", "entrypoint"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["project", "entrypoint", "prod"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["no_static", "include", "exclude"]