CLI
What this solves
You are leaving GitHub or evaluating Forgejo and want a terminal workflow comparable to gh.
If your team lives in gh today, plan the commands that matter before migration day.
CLI
You are leaving GitHub or evaluating Forgejo and want a terminal workflow comparable to gh.
Most teams do not need a one-for-one clone of every gh command. They need their frequent workflows covered: listing review work, opening a pull request, reading CI results, creating releases, and calling the forge API for the few cases that are unique to their process.
# Build this from shell history, scripts, and CI jobs.
gh pr list # map to pull request listing
gh pr view 42 # map to review details
gh run watch # map to Actions run inspection
gh release create # map to release automation
gh api ... # map to raw Forgejo API callsCheck scripts and aliases, not only commands people remember using.
Call out commands that depend on GitHub-only services before cutover.
Keep a short compatibility table in the migration plan.
Use fj as a Forgejo CLI for issues, pull requests, releases, Actions logs, and automation.
Automate Forgejo with fj, Actions, raw API calls, repository hooks, secrets, and release workflows.
Understand what usually ports from GitHub Actions to Forgejo Actions and what needs testing.