Skip to content

docs: document --camera and --microphone macOS entitlement flags#1281

Open
LuisMIguelFurlanettoSousa wants to merge 1 commit into
tw93:mainfrom
LuisMIguelFurlanettoSousa:docs/document-camera-microphone
Open

docs: document --camera and --microphone macOS entitlement flags#1281
LuisMIguelFurlanettoSousa wants to merge 1 commit into
tw93:mainfrom
LuisMIguelFurlanettoSousa:docs/document-camera-microphone

Conversation

@LuisMIguelFurlanettoSousa

Copy link
Copy Markdown

Closes #1280

What

--camera and --microphone are functional CLI flags (they add macOS com.apple.security.device.camera / com.apple.security.device.audio-input entitlements via generateMacEntitlements() in bin/helpers/merge.ts) but were absent from the complete CLI reference. AGENTS.md requires every CLI parameter to be documented in docs/cli-usage*.md.

Change

  • docs/cli-usage.md — add #### [camera] and #### [microphone] sections.
  • docs/cli-usage_CN.md — same sections with Simplified Chinese prose (headings kept in English, consistent with the rest of the file).

Both are placed next to the existing macOS-only [install] section. Docs-only; no code change.

Verify

grep -niE 'camera|microphone' docs/cli-usage.md docs/cli-usage_CN.md

pnpm run format:check is clean.

The --camera and --microphone options are fully wired (cli-program.ts,
types.ts, defaults.ts, and merge.ts, which writes the corresponding macOS
entitlements) but were missing from the complete CLI reference in
docs/cli-usage.md and docs/cli-usage_CN.md. AGENTS.md requires every CLI
parameter to be documented there. Add detailed sections for both, mirroring
the existing macOS-only [install] entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant