- Project scaffolding (package.json, tsconfig.json, .gitignore)
- Foundation modules (errors, config, auth/store)
- API client factory (azure-devops-node-api, PAT auth)
- Output module (TTY/non-TTY, table/detail/json)
-
ado auth login— PAT-based auth with keytar + file fallback -
ado issue list— list work items with state/assignee/tag/type filters -
ado issue view <id>— work item detail view with optional comments -
ado pr list— list PRs with state/author/repo filters -
ado pr view <pr>— PR detail with optional comment threads -
ado pr thread create <pr>— create a new comment thread (--body or $EDITOR; optionally anchored to --file + --line range) -
ado pr diff <pr>— real unified diff with--color,--exclude,--name-only,--patch,--webflags matchinggh pr diff - OAuth browser login as default auth (MSAL
acquireTokenInteractive); device code flow for headless/CI - DEP0169 deprecation warning suppression (upstream: azure-devops-node-api#664, fix: PR#662)
-
ado search issues <query>— search work items via WIQL -
ado search code <query>— search code via Azure Search REST API -
ado search commits <query>— search commits (client-side filter) -
ado search prs <query>— search PRs (client-side filter) -
ado search repos <query>— list/filter repositories -
ado auth status— show current auth state -
ado auth logout— remove stored credentials - After login: numbered list project selector (TTY) / plain stdin line-read (non-TTY, AI agent compatible)
-
ado issue create— create a new work item (type, title, description, assignee, tags) -
ado issue edit <id>— update title, description, state, assignee, tags on an existing work item -
ado issue close <id>— set work item state to Closed/Resolved -
ado issue reopen <id>— set work item state back to Active -
ado issue comment <id>— add a comment to a work item (mirrorsado pr comment) -
ado issue status— show work items assigned to you / created by you -
ado issue list --web/ado issue view --web— open in browser -
ado issue develop <id>— create a branch linked to a work item (GitApi.updateRefs+WorkItemTrackingApi.updateWorkItemwith ArtifactLink relation) -
ado pr create— create a pull request -
ado pr review— approve/reject a PR -
ado pr list --web/ado pr view --web— open in browser -
ado search projects <query>— list/filter Azure DevOps projects (CoreApi.getProjects+ client-side filter) -
ado repo list— list repositories -
ado repo clone— clone a repository -
ado run list— list recent pipeline runs (BuildApi.getBuilds) -
ado run view <run-id>— show details of a specific run;--webto open in browser -
ado run watch <run-id>— stream live status until run completes -
ado run cancel <run-id>— cancel an in-progress run (BuildApi.updateBuildstatus=Cancelling) -
ado run rerun <run-id>— re-queue a completed/failed run (BuildApi.updateBuildretry=true) -
ado run download <run-id>— download build artifacts (BuildApi.getArtifacts) -
ado run delete <run-id>— delete a pipeline run record -
ado completion— generate shell completion scripts (bash/zsh/fish/powershell) -
--web/-wflag audit — added to:issue list,issue view,pr list,pr view,run list,run view -
ado pr thread reply <pr> <thread-id>— reply to an existing PR comment thread -
ado pr thread status <pr> <thread-id>— set thread status (active/resolve/pending/wont-fix/close)
- Tests