Skip to content

Rename forge-cli binary to forge#83

Merged
titouanmathis merged 2 commits intomainfrom
feature/82-rename-forge-cli-to-forge
Mar 2, 2026
Merged

Rename forge-cli binary to forge#83
titouanmathis merged 2 commits intomainfrom
feature/82-rename-forge-cli-to-forge

Conversation

@titouanmathis
Copy link
Contributor

Summary

Renames the CLI binary from forge-cli to forge for a shorter, more natural command name.

# Before
forge-cli servers list
forge-cli deployments deploy --server 123 --site 456

# After
forge servers list
forge deployments deploy --server 123 --site 456

Changes

  • Binary name: forge-cliforge (in packages/cli/package.json bin field)
  • Help text & usage strings: all 20+ command handlers and help files updated
  • Shell completion: function names (_forge_completions, _forge), file paths (completions/forge, _forge, forge.fish), and all complete -c directives updated
  • Error messages: all validation/config error hints updated
  • Tests: all test expectations updated (completion, config, errors, help)
  • Docs: README (root + cli), CONTRIBUTING, CLAUDE.md, CHANGELOG

What stays the same

  • Package name: still @studiometa/forge-cli on npm
  • Directory: still packages/cli/
  • All other packages: untouched

Breaking Change

Users who have forge-cli in scripts or shell aliases must update to forge. Shell completions need to be reinstalled via forge completion bash/zsh/fish.

Closes #82

Rename the CLI binary from `forge-cli` to `forge` for a shorter,
more natural command name (`forge servers list` instead of
`forge-cli servers list`).

The npm package name remains `@studiometa/forge-cli`.

Changes:
- Update bin field in packages/cli/package.json
- Rename all help text, usage strings, and error messages
- Rename shell completion functions and file paths
- Update tests to match new binary name
- Update docs (README, CONTRIBUTING, CLAUDE, CHANGELOG)

Closes #82

Co-authored-by: Claude <claude@anthropic.com>
@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.80%. Comparing base (266782f) to head (a9e5988).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #83   +/-   ##
=======================================
  Coverage   99.80%   99.80%           
=======================================
  Files         225      225           
  Lines        3624     3624           
  Branches      847      816   -31     
=======================================
  Hits         3617     3617           
  Misses          7        7           
Flag Coverage Δ
unittests 99.80% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Restore forge-cli package name in architecture diagrams and changelog
entries that were incorrectly replaced with the binary name.

Co-authored-by: Claude <claude@anthropic.com>
@titouanmathis titouanmathis merged commit afd4eb2 into main Mar 2, 2026
8 checks passed
@titouanmathis titouanmathis deleted the feature/82-rename-forge-cli-to-forge branch March 2, 2026 07:52
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.

Rename forge-cli package and binary to forge

1 participant