Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/opencode/src/cli/cmd/command-groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ export const COMMAND_CATEGORY_MAP: Record<string, string> = {
generate: "core",
debug: "core",
auth: "core",
login: "core",
agent: "core",
upgrade: "core",
uninstall: "core",
Expand Down
4 changes: 3 additions & 1 deletion packages/opencode/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { hideBin } from "yargs/helpers"
import { RunCommand } from "./cli/cmd/run"
import { GenerateCommand } from "./cli/cmd/generate"
import { Log } from "./util/log"
import { AuthCommand } from "./cli/cmd/auth"
import { AuthCommand, AuthLoginCommand } from "./cli/cmd/auth"
import { AgentCommand } from "./cli/cmd/agent"
import { UpgradeCommand } from "./cli/cmd/upgrade"
import { UninstallCommand } from "./cli/cmd/uninstall"
Expand Down Expand Up @@ -245,6 +245,8 @@ const cli = yargs(rawArgs)
.command(reg(GenerateCommand))
.command(reg(DebugCommand))
.command(reg(AuthCommand))
// Top-level alias for `iris auth login` — same command module, so behavior can't drift.
.command(reg(AuthLoginCommand))
.command(reg(AgentCommand))
.command(reg(UpgradeCommand))
.command(reg(UninstallCommand))
Expand Down
Loading