docs(cli): remove stale auth command section

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-03-06 20:50:11 +09:00
parent 68a8f303cb
commit a0683b5ccb
+12 -31
View File
@@ -15,7 +15,7 @@ npx oh-my-opencode
## Commands
| Command | Description |
|---------|-------------|
| ------------------- | ----------------------------------------- |
| `install` | Interactive setup wizard |
| `doctor` | Environment diagnostics and health checks |
| `run` | OpenCode session runner |
@@ -45,7 +45,7 @@ bunx oh-my-opencode install
### Options
| Option | Description |
|--------|-------------|
| ----------- | ---------------------------------------------------------------- |
| `--no-tui` | Run in non-interactive mode without TUI (for CI/CD environments) |
| `--verbose` | Display detailed logs |
@@ -64,7 +64,7 @@ bunx oh-my-opencode doctor
### Diagnostic Categories
| Category | Check Items |
|----------|-------------|
| ------------------ | --------------------------------------------------------- |
| **Installation** | OpenCode version (>= 1.0.150), plugin registration status |
| **Configuration** | Configuration file validity, JSONC parsing |
| **Authentication** | Anthropic, OpenAI, Google API key validity |
@@ -75,7 +75,7 @@ bunx oh-my-opencode doctor
### Options
| Option | Description |
|--------|-------------|
| ------------------- | ---------------------------------------------------------------- |
| `--category <name>` | Check specific category only (e.g., `--category authentication`) |
| `--json` | Output results in JSON format |
| `--verbose` | Include detailed information |
@@ -125,7 +125,7 @@ bunx oh-my-opencode run [prompt]
### Options
| Option | Description |
|--------|-------------|
| ------------------------ | ------------------------------------------------- |
| `--enforce-completion` | Keep session active until all TODOs are completed |
| `--timeout <seconds>` | Set maximum execution time |
| `--agent <name>` | Specify agent to use |
@@ -163,7 +163,7 @@ bunx oh-my-opencode mcp oauth status [server-name]
### Options
| Option | Description |
|--------|-------------|
| -------------------- | ------------------------------------------------------------------------- |
| `--server-url <url>` | MCP server URL (required for login) |
| `--client-id <id>` | OAuth client ID (optional if server supports Dynamic Client Registration) |
| `--scopes <scopes>` | Comma-separated OAuth scopes |
@@ -174,25 +174,6 @@ Tokens are stored in `~/.config/opencode/mcp-oauth.json` with `0600` permissions
---
## auth
Manages Google Antigravity OAuth authentication. Required for using Gemini models.
### Usage
```bash
# Login
bunx oh-my-opencode auth login
# Logout
bunx oh-my-opencode auth logout
# Check current status
bunx oh-my-opencode auth status
```
---
## Configuration Files
The CLI searches for configuration files in the following locations (in priority order):
@@ -215,7 +196,7 @@ Configuration files support **JSONC (JSON with Comments)** format. You can use c
/* Category customization */
"categories": {
"visual-engineering": {
"model": "google/gemini-3-pro",
"model": "google/gemini-3.1-pro",
},
},
}
@@ -291,25 +272,25 @@ src/cli/
Create `src/cli/doctor/checks/my-check.ts`:
```typescript
import type { DoctorCheck } from "../types"
import type { DoctorCheck } from "../types";
export const myCheck: DoctorCheck = {
name: "my-check",
category: "environment",
check: async () => {
// Check logic
const isOk = await someValidation()
const isOk = await someValidation();
return {
status: isOk ? "pass" : "fail",
message: isOk ? "Everything looks good" : "Something is wrong",
}
};
},
}
};
```
Register in `src/cli/doctor/checks/index.ts`:
```typescript
export { myCheck } from "./my-check"
export { myCheck } from "./my-check";
```