Skip to content

[CLI] Retire cg init in the v0.5.0 release #1185

Open

Description

@SnowboardTechie

Summary

ADR 0029 (#1089) retires cg init. The check, compile, and preview commands are unchanged.

Remove the init command from the CLI: lib/cli/src/commands/init/, its registration in lib/cli/src/index.ts, the unit tests under lib/cli/src/__tests__/commands/init/, the init command block in lib/cli/src/__tests__/integration/cli.test.ts, and the init sections of lib/cli/README.md.

This is the retirement release described in the ADR. Its publish date starts the 90-day compatibility bridge, so the release notes must announce the retirement, the replacement template repositories (common-grants/cg-api-template-express, common-grants/cg-api-template-hono, common-grants/cg-api-template-fastapi), the Getting Started quickstart, and the date the templates/template.json manifest will be deleted.

Depends on the bridge manifest being rewritten and verified first (see the [Templates] Rewrite template.json ticket) and on the docs no longer instructing readers to run cg init (quickstart and guide tickets).

Acceptance criteria

  • cg init and cg init --list are removed; cg check, cg compile, and cg preview behave as before
  • lib/cli/README.md no longer documents init
  • The PR is a breaking change (feat! / BREAKING CHANGE) so Release Please cuts @common-grants/cli 0.5.0
  • The release notes announce the retirement, link the replacement template repositories and the Getting Started quickstart, and state the manifest removal date (release date + 90 days)
  • The removal date and named owner are recorded on the [Monorepo] Delete template.json ticket

Activity

  1. added
    cliIssue or PR related to the @common-grants/cli library
    typescriptIssue or PR related to TypeScript tooling
    breakingChange that breaks the published API. Belongs on a hold branch.
    on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingChange that breaks the published API. Belongs on a hold branch.cliIssue or PR related to the @common-grants/cli librarytypescriptIssue or PR related to TypeScript tooling

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions