Skip to content

Commit cfb36cd

Browse files
author
Joan-Angelo Enrile
committed
feat: add update command
1 parent a398aa5 commit cfb36cd

7 files changed

Lines changed: 200 additions & 78 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
},
66
"metadata": {
77
"description": "AI Agent plugin marketplace for the Azure DevOps CLI",
8-
"version": "1.0.4",
8+
"version": "1.0.5",
99
"homepage": "https://github.com/yutamago/ado-cli"
1010
},
1111
"plugins": [
1212
{
1313
"name": "azure-devops",
1414
"source": "./plugins/azure-devops",
1515
"description": "Skills for interacting with Azure DevOps via the ado CLI — issues, pull requests, pipeline runs, search, and repositories.",
16-
"version": "1.0.4",
16+
"version": "1.0.5",
1717
"author": {
1818
"name": "yutamago",
1919
"url": "https://github.com/yutamago"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ado-cli",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "An Azure DevOps CLI, mimicking the known and loved Github CLI syntax.",
55
"main": "./dist/index.js",
66
"bin": {

plugins/azure-devops/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ado",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Azure DevOps skills for AI Agents — issues, pull requests, pipeline runs, search, and repositories.",
55
"author": {
66
"name": "yutamago",

plugins/azure-devops/skills/azure-devops/SKILL.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ description: >
1010
"clone a repo", "list repositories", "auth login", "auth status",
1111
or any direct ado command invocation (ado issue, ado pr, ado run, ado search,
1212
ado repo, ado auth, ado completion).
13-
---
14-
1513
# ado CLI Skill
1614

1715
`ado` is an Azure DevOps CLI optimized for agentic use. It mirrors GitHub CLI (`gh`) conventions so commands map predictably. All commands are non-interactive by default; TTY output is styled tables, non-TTY output is tab-separated plain text (pipeline-safe). Use `--json` for structured JSON.
@@ -29,8 +27,6 @@ If either succeeds, record that the CLI is available and proceed normally. Do **
2927

3028
If **both fail**, do NOT attempt to install it automatically. Stop and show the user this message:
3129

32-
---
33-
3430
**`ado-cli` is not installed.** Install it using one of these methods, then re-run your request:
3531

3632
**macOS, Linux, WSL**
@@ -53,8 +49,6 @@ curl -fsSL https://raw.githubusercontent.com/yutamago/ado-cli/main/install.ps1 -
5349
npm install -g ado-cli
5450
```
5551

56-
---
57-
5852
Once installed, run `ado --version` to confirm, then retry your original request.
5953

6054
## Authentication

plugins/azure-devops/skills/azure-devops/reference.md

Lines changed: 8 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
Generated from source at `src/commands/**/*.ts`. Update this file whenever a command or flag is added, renamed, or removed.
44

5-
---
6-
75
## ado auth login
86

97
| Flag | Short | Description | Default |
@@ -13,25 +11,19 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
1311
| `--with-token` || Authenticate with a PAT (reads from stdin) ||
1412
| `--token <token>` || PAT value inline (implies `--with-token`) ||
1513

16-
---
17-
1814
## ado auth logout
1915

2016
| Flag | Short | Description | Default |
2117
|------|-------|-------------|---------|
2218
| `--org <url>` || Azure DevOps organization URL ||
2319

24-
---
25-
2620
## ado auth status
2721

2822
| Flag | Short | Description | Default |
2923
|------|-------|-------------|---------|
3024
| `--org <url>` || Azure DevOps organization URL ||
3125
| `--json [fields]` || Output as JSON (optional comma-separated field filter) ||
3226

33-
---
34-
3527
## ado issue list
3628

3729
| Flag | Short | Description | Default |
@@ -46,8 +38,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
4638
| `--json [fields]` || Output as JSON ||
4739
| `--web` | `-w` | Open in browser ||
4840

49-
---
50-
5141
## ado issue view \<id\>
5242

5343
| Flag | Short | Description | Default |
@@ -58,8 +48,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
5848
| `--json [fields]` || Output as JSON ||
5949
| `--web` | `-w` | Open in browser ||
6050

61-
---
62-
6351
## ado issue create
6452

6553
| Flag | Short | Description | Default |
@@ -73,8 +61,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
7361
| `--org <url>` || Organization URL ||
7462
| `--json [fields]` || Output as JSON ||
7563

76-
---
77-
7864
## ado issue edit \<id\>
7965

8066
| Flag | Short | Description | Default |
@@ -88,26 +74,20 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
8874
| `--org <url>` || Organization URL ||
8975
| `--json [fields]` || Output as JSON ||
9076

91-
---
92-
9377
## ado issue close \<id\>
9478

9579
| Flag | Short | Description | Default |
9680
|------|-------|-------------|---------|
9781
| `--project <project>` | `-p` | Azure DevOps project ||
9882
| `--org <url>` || Organization URL ||
9983

100-
---
101-
10284
## ado issue reopen \<id\>
10385

10486
| Flag | Short | Description | Default |
10587
|------|-------|-------------|---------|
10688
| `--project <project>` | `-p` | Azure DevOps project ||
10789
| `--org <url>` || Organization URL ||
10890

109-
---
110-
11191
## ado issue comment \<id\>
11292

11393
| Flag | Short | Description | Default |
@@ -117,8 +97,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
11797
| `--project <project>` | `-p` | Azure DevOps project ||
11898
| `--org <url>` || Organization URL ||
11999

120-
---
121-
122100
## ado issue status
123101

124102
| Flag | Short | Description | Default |
@@ -127,8 +105,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
127105
| `--org <url>` || Organization URL ||
128106
| `--json [fields]` || Output as JSON ||
129107

130-
---
131-
132108
## ado issue develop \<id\>
133109

134110
| Flag | Short | Description | Default |
@@ -139,8 +115,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
139115
| `--project <project>` | `-p` | Azure DevOps project ||
140116
| `--org <url>` || Organization URL ||
141117

142-
---
143-
144118
## ado pr list
145119

146120
| Flag | Short | Description | Default |
@@ -155,8 +129,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
155129
| `--json [fields]` || Output as JSON ||
156130
| `--web` | `-w` | Open in browser ||
157131

158-
---
159-
160132
## ado pr view \<id\>
161133

162134
| Flag | Short | Description | Default |
@@ -168,8 +140,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
168140
| `--json [fields]` || Output as JSON ||
169141
| `--web` | `-w` | Open in browser ||
170142

171-
---
172-
173143
## ado pr comment \<id\>
174144

175145
| Flag | Short | Description | Default |
@@ -180,8 +150,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
180150
| `--project <project>` | `-p` | Azure DevOps project ||
181151
| `--org <url>` || Organization URL ||
182152

183-
---
184-
185153
## ado pr diff \<id\>
186154

187155
| Flag | Short | Description | Default |
@@ -195,8 +163,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
195163
| `--org <url>` || Organization URL ||
196164
| `--web` | `-w` | Open PR diff in browser ||
197165

198-
---
199-
200166
## ado pr create
201167

202168
| Flag | Short | Description | Default |
@@ -213,8 +179,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
213179
| `--json [fields]` || Output as JSON ||
214180
| `--web` | `-w` | Open in browser after creation ||
215181

216-
---
217-
218182
## ado pr review \<id\>
219183

220184
| Flag | Short | Description | Default |
@@ -227,8 +191,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
227191
| `--project <project>` | `-p` | Azure DevOps project ||
228192
| `--org <url>` || Organization URL ||
229193

230-
---
231-
232194
## ado run list
233195

234196
| Flag | Short | Description | Default |
@@ -241,8 +203,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
241203
| `--json [fields]` || Output as JSON ||
242204
| `--web` | `-w` | Open in browser ||
243205

244-
---
245-
246206
## ado run view \<id\>
247207

248208
| Flag | Short | Description | Default |
@@ -252,35 +212,27 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
252212
| `--json [fields]` || Output as JSON ||
253213
| `--web` | `-w` | Open in browser ||
254214

255-
---
256-
257215
## ado run watch \<id\>
258216

259217
| Flag | Short | Description | Default |
260218
|------|-------|-------------|---------|
261219
| `--project <project>` | `-p` | Azure DevOps project ||
262220
| `--org <url>` || Organization URL ||
263221

264-
---
265-
266222
## ado run cancel \<id\>
267223

268224
| Flag | Short | Description | Default |
269225
|------|-------|-------------|---------|
270226
| `--project <project>` | `-p` | Azure DevOps project ||
271227
| `--org <url>` || Organization URL ||
272228

273-
---
274-
275229
## ado run rerun \<id\>
276230

277231
| Flag | Short | Description | Default |
278232
|------|-------|-------------|---------|
279233
| `--project <project>` | `-p` | Azure DevOps project ||
280234
| `--org <url>` || Organization URL ||
281235

282-
---
283-
284236
## ado run download \<id\>
285237

286238
| Flag | Short | Description | Default |
@@ -290,8 +242,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
290242
| `--project <project>` | `-p` | Azure DevOps project ||
291243
| `--org <url>` || Organization URL ||
292244

293-
---
294-
295245
## ado run delete \<id\>
296246

297247
| Flag | Short | Description | Default |
@@ -300,8 +250,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
300250
| `--project <project>` | `-p` | Azure DevOps project ||
301251
| `--org <url>` || Organization URL ||
302252

303-
---
304-
305253
## ado search issues \<query\>
306254

307255
| Flag | Short | Description | Default |
@@ -312,8 +260,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
312260
| `--org <url>` || Organization URL ||
313261
| `--json [fields]` || Output as JSON ||
314262

315-
---
316-
317263
## ado search code \<query\>
318264

319265
| Flag | Short | Description | Default |
@@ -324,8 +270,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
324270
| `--org <url>` || Organization URL ||
325271
| `--json [fields]` || Output as JSON ||
326272

327-
---
328-
329273
## ado search commits \<query\>
330274

331275
| Flag | Short | Description | Default |
@@ -336,8 +280,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
336280
| `--org <url>` || Organization URL ||
337281
| `--json [fields]` || Output as JSON ||
338282

339-
---
340-
341283
## ado search prs \<query\>
342284

343285
| Flag | Short | Description | Default |
@@ -348,8 +290,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
348290
| `--org <url>` || Organization URL ||
349291
| `--json [fields]` || Output as JSON ||
350292

351-
---
352-
353293
## ado search repos \<query\>
354294

355295
| Flag | Short | Description | Default |
@@ -359,8 +299,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
359299
| `--org <url>` || Organization URL ||
360300
| `--json [fields]` || Output as JSON ||
361301

362-
---
363-
364302
## ado search projects \<query\>
365303

366304
| Flag | Short | Description | Default |
@@ -369,8 +307,6 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
369307
| `--org <url>` || Organization URL ||
370308
| `--json [fields]` || Output as JSON ||
371309

372-
---
373-
374310
## ado repo list
375311

376312
| Flag | Short | Description | Default |
@@ -380,19 +316,23 @@ Generated from source at `src/commands/**/*.ts`. Update this file whenever a com
380316
| `--org <url>` || Organization URL ||
381317
| `--json [fields]` || Output as JSON ||
382318

383-
---
384-
385319
## ado repo clone \<repo\> [directory]
386320

387321
| Flag | Short | Description | Default |
388322
|------|-------|-------------|---------|
389323
| `--project <project>` | `-p` | Azure DevOps project ||
390324
| `--org <url>` || Organization URL ||
391325

392-
---
393-
394326
## ado completion \<shell\>
395327

396328
Accepted values for `<shell>`: `bash`, `zsh`, `fish`, `powershell`
397329

398330
No additional flags.
331+
332+
## ado update
333+
334+
Shows the current version and checks GitHub releases for a newer version. If one is available, prints it and the command to install it.
335+
336+
## ado update install
337+
338+
Checks GitHub releases for the latest version. If newer, installs it.

0 commit comments

Comments
 (0)