Skip to content

docs(cli): remove the non-existent --output-content-declarations flag from extract - #521

Merged
aymericzip merged 1 commit into
aymericzip:mainfrom
theluckystrike:docs/extract-output-flag
Oct 11, 2026
Merged

aymericzip merged 1 commit into
aymericzip:mainfrom
theluckystrike:docs/extract-output-flag

Conversation

@theluckystrike

Copy link
Copy Markdown
Contributor

The extract command docs list an -o, --output-content-declarations flag, but intlayer extract in packages/@intlayer/cli/src/cli.ts only defines -f, --file, --code-only and --declaration-only. Passing -o today fails as an unknown option. Where the files go comes from compiler.output in the config, which extract() reads in extract.ts.

This removes the output options block from docs/docs/*/cli/extract.md in all 18 locales, 6 lines each, and changes nothing else.

One related thing I left alone. The intlayer-extract MCP tool in packages/@intlayer/mcp/src/tools/cli.ts still accepts outputContentDeclarations but never passes it to extract(), and ExtractOptions.output isn't read either. If you'd rather drop those too, I can send that as a separate change.

@aymericzip
aymericzip merged commit 8f6dff8 into aymericzip:main Oct 11, 2026
1 of 2 checks passed
@tornado-softwares

Copy link
Copy Markdown
Collaborator

Good catch, perfect for the documentation updates.
I'll handle the second point you raised: removing the MCP parameter if it has no effect. Thanks for reporting that and for contributing to Intlayer!

@theluckystrike

theluckystrike commented Oct 11, 2026 via email •

Copy link
Copy Markdown
Contributor Author

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.

3 participants