@enjoys/context-engine 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +213 -0
- package/data/commands/air.json +59 -0
- package/data/commands/ansible.json +24 -0
- package/data/commands/apachectl.json +87 -0
- package/data/commands/apt-get.json +81 -0
- package/data/commands/apt.json +91 -0
- package/data/commands/awk.json +26 -0
- package/data/commands/aws-vault.json +140 -0
- package/data/commands/aws.json +229 -0
- package/data/commands/az.json +36 -0
- package/data/commands/bazel.json +103 -0
- package/data/commands/brew.json +140 -0
- package/data/commands/bun.json +230 -0
- package/data/commands/caddy.json +194 -0
- package/data/commands/cargo.json +1048 -0
- package/data/commands/cat.json +18 -0
- package/data/commands/cd.json +48 -0
- package/data/commands/certbot.json +148 -0
- package/data/commands/chmod.json +97 -0
- package/data/commands/choco.json +134 -0
- package/data/commands/chown.json +59 -0
- package/data/commands/clickhouse-client.json +74 -0
- package/data/commands/cloudflare.json +226 -0
- package/data/commands/cmake.json +110 -0
- package/data/commands/cockroach.json +92 -0
- package/data/commands/conda.json +94 -0
- package/data/commands/consul.json +125 -0
- package/data/commands/cp.json +86 -0
- package/data/commands/curl.json +44 -0
- package/data/commands/cypress.json +100 -0
- package/data/commands/deno.json +29 -0
- package/data/commands/django-admin.json +86 -0
- package/data/commands/dnf.json +137 -0
- package/data/commands/docker.json +1100 -0
- package/data/commands/doctl.json +156 -0
- package/data/commands/eslint.json +69 -0
- package/data/commands/find.json +44 -0
- package/data/commands/firebase.json +97 -0
- package/data/commands/flask.json +79 -0
- package/data/commands/flyctl.json +148 -0
- package/data/commands/gcloud.json +227 -0
- package/data/commands/gh.json +39 -0
- package/data/commands/git.json +527 -0
- package/data/commands/glab.json +116 -0
- package/data/commands/go.json +161 -0
- package/data/commands/gofmt.json +51 -0
- package/data/commands/golangci-lint.json +89 -0
- package/data/commands/gradle.json +44 -0
- package/data/commands/grep.json +47 -0
- package/data/commands/gunicorn.json +83 -0
- package/data/commands/helm.json +1104 -0
- package/data/commands/hg.json +92 -0
- package/data/commands/httpd.json +147 -0
- package/data/commands/influx.json +119 -0
- package/data/commands/iptables.json +86 -0
- package/data/commands/java.json +31 -0
- package/data/commands/jest.json +82 -0
- package/data/commands/journalctl.json +88 -0
- package/data/commands/just.json +93 -0
- package/data/commands/k6.json +84 -0
- package/data/commands/kubectl.json +1277 -0
- package/data/commands/linode-cli.json +117 -0
- package/data/commands/locust.json +83 -0
- package/data/commands/ls.json +115 -0
- package/data/commands/make.json +86 -0
- package/data/commands/mocha.json +75 -0
- package/data/commands/mongosh.json +73 -0
- package/data/commands/mv.json +68 -0
- package/data/commands/mvn.json +45 -0
- package/data/commands/mysql.json +81 -0
- package/data/commands/nest.json +69 -0
- package/data/commands/netlify.json +92 -0
- package/data/commands/next.json +71 -0
- package/data/commands/nft.json +105 -0
- package/data/commands/nginx.json +146 -0
- package/data/commands/nmap.json +92 -0
- package/data/commands/node.json +43 -0
- package/data/commands/nomad.json +139 -0
- package/data/commands/npm.json +1265 -0
- package/data/commands/npx.json +58 -0
- package/data/commands/nx.json +82 -0
- package/data/commands/openssl.json +288 -0
- package/data/commands/packer.json +92 -0
- package/data/commands/pacman.json +82 -0
- package/data/commands/pg_dump.json +83 -0
- package/data/commands/pg_restore.json +74 -0
- package/data/commands/pip.json +95 -0
- package/data/commands/pipenv.json +79 -0
- package/data/commands/pipx.json +53 -0
- package/data/commands/playwright.json +97 -0
- package/data/commands/pnpm.json +29 -0
- package/data/commands/poetry.json +96 -0
- package/data/commands/prettier.json +71 -0
- package/data/commands/ps.json +31 -0
- package/data/commands/psql.json +124 -0
- package/data/commands/pulumi.json +130 -0
- package/data/commands/pytest.json +92 -0
- package/data/commands/python.json +30 -0
- package/data/commands/railway.json +91 -0
- package/data/commands/redis-cli.json +148 -0
- package/data/commands/render.json +72 -0
- package/data/commands/rm.json +79 -0
- package/data/commands/rsync.json +36 -0
- package/data/commands/rust.json +35 -0
- package/data/commands/rustup.json +103 -0
- package/data/commands/scp.json +60 -0
- package/data/commands/sed.json +28 -0
- package/data/commands/sqlite3.json +68 -0
- package/data/commands/ssh-keygen.json +112 -0
- package/data/commands/ssh.json +37 -0
- package/data/commands/sudo.json +147 -0
- package/data/commands/supabase.json +108 -0
- package/data/commands/svn.json +75 -0
- package/data/commands/systemctl.json +31 -0
- package/data/commands/tar.json +35 -0
- package/data/commands/tcpdump.json +77 -0
- package/data/commands/terraform.json +824 -0
- package/data/commands/terragrunt.json +83 -0
- package/data/commands/tsc.json +85 -0
- package/data/commands/turbo.json +72 -0
- package/data/commands/ufw.json +76 -0
- package/data/commands/unzip.json +59 -0
- package/data/commands/uvicorn.json +73 -0
- package/data/commands/vault.json +144 -0
- package/data/commands/vercel.json +98 -0
- package/data/commands/vite.json +63 -0
- package/data/commands/vitest.json +88 -0
- package/data/commands/wasm-pack.json +90 -0
- package/data/commands/wget.json +38 -0
- package/data/commands/winget.json +131 -0
- package/data/commands/wireshark.json +81 -0
- package/data/commands/yarn.json +28 -0
- package/data/commands/yum.json +98 -0
- package/data/commands/zip.json +59 -0
- package/index.d.ts +131 -0
- package/index.js +189 -0
- package/index.mjs +21 -0
- package/package.json +64 -0
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gcloud",
|
|
3
|
+
"description": "Google Cloud CLI — manage GCP resources from the command line",
|
|
4
|
+
"category": "cloud",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish", "powershell"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{
|
|
9
|
+
"name": "init",
|
|
10
|
+
"description": "Initialize or reinitialize gcloud",
|
|
11
|
+
"examples": ["gcloud init", "gcloud init --console-only"]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "auth",
|
|
15
|
+
"description": "Manage authentication",
|
|
16
|
+
"examples": ["gcloud auth login", "gcloud auth list", "gcloud auth application-default login", "gcloud auth revoke", "gcloud auth configure-docker", "gcloud auth print-access-token"]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "config",
|
|
20
|
+
"description": "Manage gcloud configuration properties",
|
|
21
|
+
"examples": ["gcloud config list", "gcloud config set project my-project", "gcloud config set compute/zone us-central1-a", "gcloud config set compute/region us-central1", "gcloud config get project", "gcloud config configurations list", "gcloud config configurations create myconfig", "gcloud config configurations activate myconfig"]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "projects",
|
|
25
|
+
"description": "Manage GCP projects",
|
|
26
|
+
"examples": ["gcloud projects list", "gcloud projects describe my-project", "gcloud projects create my-new-project"]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "compute",
|
|
30
|
+
"description": "Manage Compute Engine resources",
|
|
31
|
+
"examples": ["gcloud compute instances list", "gcloud compute instances create myvm --machine-type=e2-medium --zone=us-central1-a", "gcloud compute instances stop myvm", "gcloud compute instances start myvm", "gcloud compute instances delete myvm", "gcloud compute ssh myvm", "gcloud compute disks list", "gcloud compute firewall-rules list", "gcloud compute networks list", "gcloud compute addresses list"]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "container",
|
|
35
|
+
"description": "Manage GKE clusters and containers",
|
|
36
|
+
"examples": ["gcloud container clusters list", "gcloud container clusters create mycluster --num-nodes=3", "gcloud container clusters get-credentials mycluster", "gcloud container clusters delete mycluster", "gcloud container images list --repository=gcr.io/my-project"]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "run",
|
|
40
|
+
"description": "Manage Cloud Run services",
|
|
41
|
+
"examples": ["gcloud run services list", "gcloud run deploy myservice --image=gcr.io/my-project/myimage --platform=managed --region=us-central1", "gcloud run services delete myservice", "gcloud run services describe myservice"]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "functions",
|
|
45
|
+
"description": "Manage Cloud Functions",
|
|
46
|
+
"examples": ["gcloud functions list", "gcloud functions deploy myfunc --runtime python311 --trigger-http --entry-point hello", "gcloud functions delete myfunc", "gcloud functions logs read myfunc"]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "sql",
|
|
50
|
+
"description": "Manage Cloud SQL instances",
|
|
51
|
+
"examples": ["gcloud sql instances list", "gcloud sql instances create mydb --database-version=POSTGRES_15 --tier=db-f1-micro --region=us-central1", "gcloud sql databases list --instance=mydb", "gcloud sql connect mydb --user=postgres"]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "storage",
|
|
55
|
+
"description": "Manage Cloud Storage (GCS) buckets and objects",
|
|
56
|
+
"examples": ["gcloud storage ls", "gcloud storage cp file.txt gs://mybucket/", "gcloud storage buckets create gs://mybucket", "gcloud storage rm gs://mybucket/file.txt", "gcloud storage cat gs://mybucket/file.txt"]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "app",
|
|
60
|
+
"description": "Manage App Engine applications",
|
|
61
|
+
"examples": ["gcloud app deploy", "gcloud app browse", "gcloud app logs tail", "gcloud app services list", "gcloud app versions list"]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "iam",
|
|
65
|
+
"description": "Manage IAM policies and service accounts",
|
|
66
|
+
"examples": ["gcloud iam service-accounts list", "gcloud iam service-accounts create mysa", "gcloud iam roles list", "gcloud projects add-iam-policy-binding my-project --member='serviceAccount:mysa@my-project.iam.gserviceaccount.com' --role='roles/editor'"]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "dns",
|
|
70
|
+
"description": "Manage Cloud DNS",
|
|
71
|
+
"examples": ["gcloud dns managed-zones list", "gcloud dns record-sets list --zone=myzone"]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "logging",
|
|
75
|
+
"description": "Manage Cloud Logging",
|
|
76
|
+
"examples": ["gcloud logging read 'severity>=ERROR' --limit=20", "gcloud logging logs list"]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "builds",
|
|
80
|
+
"description": "Manage Cloud Build",
|
|
81
|
+
"examples": ["gcloud builds submit --tag gcr.io/my-project/myimage", "gcloud builds list", "gcloud builds log BUILD_ID"]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "secrets",
|
|
85
|
+
"description": "Manage Secret Manager secrets",
|
|
86
|
+
"examples": ["gcloud secrets list", "gcloud secrets create mysecret --data-file=secret.txt", "gcloud secrets versions access latest --secret=mysecret"]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "artifacts",
|
|
90
|
+
"description": "Manage Artifact Registry",
|
|
91
|
+
"examples": ["gcloud artifacts repositories list", "gcloud artifacts docker images list"]
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"globalOptions": [
|
|
95
|
+
{ "name": "--project", "description": "GCP project ID", "type": "string" },
|
|
96
|
+
{ "name": "--account", "description": "Override the account", "type": "string" },
|
|
97
|
+
{ "name": "--configuration", "description": "Named configuration", "type": "string" },
|
|
98
|
+
{ "name": "--format", "description": "Output format (json, yaml, table, csv, value)", "type": "string" },
|
|
99
|
+
{ "name": "--quiet", "short": "-q", "description": "Disable interactive prompts" },
|
|
100
|
+
{ "name": "--verbosity", "description": "Logging verbosity level", "type": "string" },
|
|
101
|
+
{ "name": "--impersonate-service-account", "description": "Service account to impersonate", "type": "string" }
|
|
102
|
+
],
|
|
103
|
+
"examples": [
|
|
104
|
+
"gcloud init",
|
|
105
|
+
"gcloud auth login",
|
|
106
|
+
"gcloud config set project myproject",
|
|
107
|
+
"gcloud compute instances list",
|
|
108
|
+
"gcloud run deploy"
|
|
109
|
+
],
|
|
110
|
+
"relatedCommands": ["aws", "az", "firebase", "kubectl", "terraform"],
|
|
111
|
+
"contextEngine": {
|
|
112
|
+
"detectors": [
|
|
113
|
+
{
|
|
114
|
+
"name": "active_account",
|
|
115
|
+
"description": "Currently authenticated GCP account",
|
|
116
|
+
"command": "gcloud auth list --filter=status:ACTIVE --format='value(account)' 2>/dev/null",
|
|
117
|
+
"parser": "text",
|
|
118
|
+
"cacheFor": 120,
|
|
119
|
+
"requiresCmd": "gcloud"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "active_project",
|
|
123
|
+
"description": "Currently set GCP project",
|
|
124
|
+
"command": "gcloud config get project 2>/dev/null",
|
|
125
|
+
"parser": "text",
|
|
126
|
+
"cacheFor": 60,
|
|
127
|
+
"requiresCmd": "gcloud"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "projects",
|
|
131
|
+
"description": "Available GCP projects",
|
|
132
|
+
"command": "gcloud projects list --format='value(projectId)' 2>/dev/null",
|
|
133
|
+
"parser": "lines",
|
|
134
|
+
"cacheFor": 300,
|
|
135
|
+
"requiresCmd": "gcloud"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "active_region",
|
|
139
|
+
"description": "Currently set compute region",
|
|
140
|
+
"command": "gcloud config get compute/region 2>/dev/null",
|
|
141
|
+
"parser": "text",
|
|
142
|
+
"cacheFor": 120,
|
|
143
|
+
"requiresCmd": "gcloud"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "active_zone",
|
|
147
|
+
"description": "Currently set compute zone",
|
|
148
|
+
"command": "gcloud config get compute/zone 2>/dev/null",
|
|
149
|
+
"parser": "text",
|
|
150
|
+
"cacheFor": 120,
|
|
151
|
+
"requiresCmd": "gcloud"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "configurations",
|
|
155
|
+
"description": "Available gcloud configurations",
|
|
156
|
+
"command": "gcloud config configurations list --format='value(name,is_active)' 2>/dev/null",
|
|
157
|
+
"parser": "table",
|
|
158
|
+
"cacheFor": 120,
|
|
159
|
+
"requiresCmd": "gcloud"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "compute_instances",
|
|
163
|
+
"description": "Compute Engine VM instances",
|
|
164
|
+
"command": "gcloud compute instances list --format='value(name,zone,status)' 2>/dev/null",
|
|
165
|
+
"parser": "table",
|
|
166
|
+
"cacheFor": 60,
|
|
167
|
+
"requiresCmd": "gcloud"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "gke_clusters",
|
|
171
|
+
"description": "GKE clusters",
|
|
172
|
+
"command": "gcloud container clusters list --format='value(name,location,status)' 2>/dev/null",
|
|
173
|
+
"parser": "table",
|
|
174
|
+
"cacheFor": 120,
|
|
175
|
+
"requiresCmd": "gcloud"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "cloud_run_services",
|
|
179
|
+
"description": "Deployed Cloud Run services",
|
|
180
|
+
"command": "gcloud run services list --format='value(name,region,status)' 2>/dev/null",
|
|
181
|
+
"parser": "table",
|
|
182
|
+
"cacheFor": 60,
|
|
183
|
+
"requiresCmd": "gcloud"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "cloud_functions",
|
|
187
|
+
"description": "Deployed Cloud Functions",
|
|
188
|
+
"command": "gcloud functions list --format='value(name,status,runtime)' 2>/dev/null",
|
|
189
|
+
"parser": "table",
|
|
190
|
+
"cacheFor": 60,
|
|
191
|
+
"requiresCmd": "gcloud"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "sql_instances",
|
|
195
|
+
"description": "Cloud SQL instances",
|
|
196
|
+
"command": "gcloud sql instances list --format='value(name,databaseVersion,state)' 2>/dev/null",
|
|
197
|
+
"parser": "table",
|
|
198
|
+
"cacheFor": 120,
|
|
199
|
+
"requiresCmd": "gcloud"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "storage_buckets",
|
|
203
|
+
"description": "GCS buckets in the project",
|
|
204
|
+
"command": "gcloud storage buckets list --format='value(name)' 2>/dev/null",
|
|
205
|
+
"parser": "lines",
|
|
206
|
+
"cacheFor": 120,
|
|
207
|
+
"requiresCmd": "gcloud"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "service_accounts",
|
|
211
|
+
"description": "IAM service accounts",
|
|
212
|
+
"command": "gcloud iam service-accounts list --format='value(email)' 2>/dev/null",
|
|
213
|
+
"parser": "lines",
|
|
214
|
+
"cacheFor": 120,
|
|
215
|
+
"requiresCmd": "gcloud"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "secrets",
|
|
219
|
+
"description": "Secret Manager secrets",
|
|
220
|
+
"command": "gcloud secrets list --format='value(name)' 2>/dev/null",
|
|
221
|
+
"parser": "lines",
|
|
222
|
+
"cacheFor": 120,
|
|
223
|
+
"requiresCmd": "gcloud"
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gh",
|
|
3
|
+
"description": "GitHub CLI - work with GitHub from the command line",
|
|
4
|
+
"category": "version-control",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish", "powershell"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{ "name": "auth login", "description": "Authenticate with GitHub", "examples": ["gh auth login", "gh auth login --with-token < token.txt"] },
|
|
9
|
+
{ "name": "auth status", "description": "Check auth status", "examples": ["gh auth status"] },
|
|
10
|
+
{ "name": "repo create", "description": "Create a new repository", "args": [{ "name": "<name>", "type": "string", "required": true, "description": "Repo name" }], "options": [{ "name": "--public", "description": "Public repo" }, { "name": "--private", "description": "Private repo" }, { "name": "--clone", "description": "Clone after creating" }], "examples": ["gh repo create myrepo --public", "gh repo create myrepo --private --clone"] },
|
|
11
|
+
{ "name": "repo clone", "description": "Clone a repository", "args": [{ "name": "<repo>", "type": "string", "required": true, "description": "Repository (owner/repo)" }], "examples": ["gh repo clone owner/repo"] },
|
|
12
|
+
{ "name": "repo fork", "description": "Fork a repository", "args": [{ "name": "<repo>", "type": "string", "required": false, "description": "Repository" }], "examples": ["gh repo fork", "gh repo fork owner/repo --clone"] },
|
|
13
|
+
{ "name": "pr create", "description": "Create a pull request", "options": [{ "name": "--title", "short": "-t", "description": "PR title", "type": "string" }, { "name": "--body", "short": "-b", "description": "PR body", "type": "string" }, { "name": "--base", "short": "-B", "description": "Base branch", "type": "string" }, { "name": "--draft", "short": "-d", "description": "Create as draft" }, { "name": "--fill", "short": "-f", "description": "Use commit info for title/body" }], "examples": ["gh pr create --title 'feat: add login' --body 'Description'", "gh pr create --fill", "gh pr create --draft"] },
|
|
14
|
+
{ "name": "pr list", "description": "List pull requests", "options": [{ "name": "--state", "short": "-s", "description": "Filter by state (open, closed, merged, all)", "type": "string" }, { "name": "--author", "description": "Filter by author", "type": "string" }], "examples": ["gh pr list", "gh pr list --state closed"] },
|
|
15
|
+
{ "name": "pr merge", "description": "Merge a pull request", "args": [{ "name": "<number>", "type": "number", "required": false, "description": "PR number" }], "options": [{ "name": "--squash", "short": "-s", "description": "Squash merge" }, { "name": "--rebase", "short": "-r", "description": "Rebase merge" }, { "name": "--delete-branch", "short": "-d", "description": "Delete branch after merge" }], "examples": ["gh pr merge 42 --squash --delete-branch", "gh pr merge --rebase"] },
|
|
16
|
+
{ "name": "pr checkout", "description": "Check out a pull request locally", "args": [{ "name": "<number>", "type": "number", "required": true, "description": "PR number" }], "examples": ["gh pr checkout 42"] },
|
|
17
|
+
{ "name": "pr view", "description": "View a pull request", "args": [{ "name": "<number>", "type": "number", "required": false, "description": "PR number" }], "options": [{ "name": "--web", "short": "-w", "description": "Open in browser" }], "examples": ["gh pr view 42", "gh pr view --web"] },
|
|
18
|
+
{ "name": "issue create", "description": "Create an issue", "options": [{ "name": "--title", "short": "-t", "description": "Issue title", "type": "string" }, { "name": "--body", "short": "-b", "description": "Issue body", "type": "string" }, { "name": "--label", "short": "-l", "description": "Labels", "type": "string" }], "examples": ["gh issue create --title 'Bug: crash on startup' --body 'Steps to reproduce...'"] },
|
|
19
|
+
{ "name": "issue list", "description": "List issues", "options": [{ "name": "--state", "short": "-s", "description": "Filter by state", "type": "string" }, { "name": "--label", "short": "-l", "description": "Filter by label", "type": "string" }], "examples": ["gh issue list", "gh issue list --label bug"] },
|
|
20
|
+
{ "name": "release create", "description": "Create a release", "args": [{ "name": "<tag>", "type": "string", "required": true, "description": "Tag name" }], "options": [{ "name": "--title", "short": "-t", "description": "Release title", "type": "string" }, { "name": "--notes", "short": "-n", "description": "Release notes", "type": "string" }, { "name": "--draft", "short": "-d", "description": "Create as draft" }, { "name": "--prerelease", "short": "-p", "description": "Mark as pre-release" }, { "name": "--generate-notes", "description": "Auto-generate release notes" }], "examples": ["gh release create v1.0.0 --title 'Release 1.0' --generate-notes"] },
|
|
21
|
+
{ "name": "release list", "description": "List releases", "examples": ["gh release list"] },
|
|
22
|
+
{ "name": "workflow run", "description": "Run a GitHub Actions workflow", "args": [{ "name": "<workflow>", "type": "string", "required": true, "description": "Workflow file or name" }], "examples": ["gh workflow run deploy.yml", "gh workflow run deploy.yml -f environment=production"] },
|
|
23
|
+
{ "name": "workflow list", "description": "List workflows", "examples": ["gh workflow list"] },
|
|
24
|
+
{ "name": "run list", "description": "List workflow runs", "examples": ["gh run list"] },
|
|
25
|
+
{ "name": "run view", "description": "View a workflow run", "args": [{ "name": "<run-id>", "type": "number", "required": true, "description": "Run ID" }], "options": [{ "name": "--log", "description": "Show run log" }], "examples": ["gh run view 12345", "gh run view 12345 --log"] },
|
|
26
|
+
{ "name": "gist create", "description": "Create a gist", "args": [{ "name": "<files>", "type": "file", "required": true, "description": "Files to include" }], "options": [{ "name": "--public", "short": "-p", "description": "Create public gist" }], "examples": ["gh gist create file.txt", "gh gist create -p script.sh"] },
|
|
27
|
+
{ "name": "api", "description": "Make authenticated GitHub API requests", "args": [{ "name": "<endpoint>", "type": "string", "required": true, "description": "API endpoint" }], "options": [{ "name": "--method", "short": "-X", "description": "HTTP method", "type": "string" }, { "name": "--field", "short": "-f", "description": "Key-value pairs", "type": "string" }], "examples": ["gh api repos/owner/repo", "gh api -X POST repos/owner/repo/issues -f title='Bug'"] },
|
|
28
|
+
{ "name": "codespace create", "description": "Create a GitHub Codespace", "examples": ["gh codespace create"] },
|
|
29
|
+
{ "name": "codespace list", "description": "List codespaces", "examples": ["gh codespace list"] },
|
|
30
|
+
{ "name": "copilot suggest", "description": "Get command suggestion from Copilot", "examples": ["gh copilot suggest 'list all running docker containers'"] }
|
|
31
|
+
],
|
|
32
|
+
"globalOptions": [
|
|
33
|
+
{ "name": "--help", "short": "-h", "description": "Show help" },
|
|
34
|
+
{ "name": "--version", "description": "Show version" },
|
|
35
|
+
{ "name": "--repo", "short": "-R", "description": "Target repository (owner/repo)", "type": "string" }
|
|
36
|
+
],
|
|
37
|
+
"examples": ["gh auth login", "gh pr create --fill", "gh release create v1.0.0 --generate-notes", "gh workflow run deploy.yml"],
|
|
38
|
+
"relatedCommands": ["git", "hub"]
|
|
39
|
+
}
|