Skip to content

docs: document undocumented environment variables#983

Merged
jackwener merged 1 commit intomainfrom
fix/document-env-vars
Apr 13, 2026
Merged

docs: document undocumented environment variables#983
jackwener merged 1 commit intomainfrom
fix/document-env-vars

Conversation

@jackwener
Copy link
Copy Markdown
Owner

Summary

Add 4 missing environment variables to both README.md and README.zh-CN.md:

  • OPENCLI_SKIP_FETCH — skip adapter sync during npm install -g
  • OUTPUT — override output format (json/yaml/table)
  • DEBUG=opencli — internal debug logging
  • DEBUG_SNAPSHOT — DOM snapshot debug output

Fixes item #11 from the code audit.

Add missing env vars to both README and README.zh-CN:
- OPENCLI_SKIP_FETCH: skip adapter sync on global install
- OUTPUT: override output format (json/yaml/table)
- DEBUG=opencli: internal debug logging
- DEBUG_SNAPSHOT: DOM snapshot debug output
@jackwener jackwener merged commit 6d769ff into main Apr 13, 2026
11 checks passed
@jackwener jackwener deleted the fix/document-env-vars branch April 13, 2026 06:03
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