Skip to content

fix(standards): --site and --login have their role in the option vocabulary - #657

Merged
leemour merged 1 commit into
mainfrom
fix/site-login-vocabulary
Nov 18, 2026
Merged

leemour merged 1 commit into
mainfrom
fix/site-login-vocabulary

Conversation

@leemour

@leemour leemour commented Nov 18, 2026

Copy link
Copy Markdown
Member

Task

A WordPress CLI made from cli-template fails cli-dev lint: option-role refuses session start --site and --login, which cli-core's tokenSessionCommand adds for a service on the owner's own site.

What

Both join the option vocabulary as mode options. --browser's meaning is a word shorter, so its entry fits one line and the file stays under Biome's 1000-line limit.

Testing

vitest run src/standards src/dev/lint.test.ts: passed. pnpm docs:check: ok. Found by building a WordPress CLI with new --from-config (cli-template's coming wp-json kind): lint gave exactly these two violations.

🤖 Generated with Claude Code

…bulary

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit d904e66 into main Nov 18, 2026
10 checks passed
@leemour
leemour deleted the fix/site-login-vocabulary branch November 18, 2026 23:38
@leemour leemour mentioned this pull request Nov 18, 2026
leemour added a commit that referenced this pull request Nov 18, 2026
Version 0.121.0: --site and --login in the option vocabulary (#657),
which a WordPress CLI's lint needs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant