Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(cli): promote init to top-level command#398

Merged
christso merged 1 commit into
mainfrom
feat/init-toplevel
May 18, 2026
Merged

feat(cli): promote init to top-level command#398
christso merged 1 commit into
mainfrom
feat/init-toplevel

Conversation

@christso

Copy link
Copy Markdown
Contributor

Summary

  • allagents init <path> is now available as a top-level command
  • workspace init is preserved as a backward-compatible alias
  • Updated metadata, examples, and README to use the canonical allagents init form

Changes

  • src/cli/index.ts — register init at the root alongside update, workspace, etc.
  • src/cli/commands/workspace.ts — export initCmd for use in the root
  • src/cli/metadata/workspace.ts — update command field to 'init' and examples to allagents init
  • Tests and README updated to reflect the new canonical path

E2E Test Plan

# Build
bun run build

# New top-level command
./dist/index.js init /tmp/test-new --client claude
# ✓ Workspace created at: /tmp/test-new

# Backward-compat alias still works
./dist/index.js workspace init /tmp/test-compat --client claude
# ✓ Workspace created at: /tmp/test-compat

allagents init <path> is now available directly at the root, removing the
workspace namespace for the most common entry point. workspace init is
preserved as a backward-compatible alias.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7637528
Status: ✅  Deploy successful!
Preview URL: https://cddcc9d5.allagents.pages.dev
Branch Preview URL: https://feat-init-toplevel.allagents.pages.dev

View logs

@christso christso merged commit 0b32ca4 into main May 18, 2026
1 check passed
@christso christso deleted the feat/init-toplevel branch May 18, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant