New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@async/cli

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@async/cli

Filesystem-routed project and user-global commands for Async workspaces.

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created
Source

@async/cli

Filesystem-routed commands for local projects and user-global tools.

@async/cli treats command directories as the CLI surface. A command such as:

cli gh pull

maps to a command directory like:

.cli/gh/pull/script.ts

The v1 contract is defined in SPEC.md. The package implements local and user-global command discovery, command resolution, script execution, machine-readable listing, --which, --new, --mv, context-file pointers, help, and version output.

Install

pnpm add -D @async/cli

Binaries

The package declares two equivalent binaries:

cli
async-cli

Command Roots

cli discovers local .cli/ overlays from the current working directory upward to the nearest Git root, then appends the user-global command tree. Use ASYNC_CLI_GLOBAL_ROOT to replace the user-global tree and ASYNC_CLI_PROJECT_ROOT to pin project-root behavior in tests or controlled launchers.

Built-Ins

cli help
cli help gh
cli --list
cli --list --json
cli --which gh pull
cli --new gh pr
cli --new gh pr --root
cli --mv gh pull
cli --mv gh pull --to local
cli --agents
cli --agents --write
cli --agents --check
cli --agents --claude --write
cli --version

Command scripts run from the caller's original working directory. .js and .mjs scripts run directly with Node; .ts and .mts scripts use Node 24 native type stripping.

Development

pnpm run build
pnpm test
pnpm run pack:check
pnpm run release:check

Maintainers who want the shell to prefer this checkout over an npm-installed copy can link the local binaries:

pnpm run local:link
pnpm run local:status
pnpm run local:unlink

FAQs

Package last updated on 02 Jul 2026

Related posts