Skip to content

Emitter options cli info#9829

Draft
timotheeguerin wants to merge 6 commits intomicrosoft:mainfrom
timotheeguerin:emitter-options-cli-info
Draft

Emitter options cli info#9829
timotheeguerin wants to merge 6 commits intomicrosoft:mainfrom
timotheeguerin:emitter-options-cli-info

Conversation

@timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Feb 26, 2026

Add a new functionality to tsp info that you can use with tsp info <emitter-name> which will give you the details of the options.

Also plugs in when using --help with tsp compile . --emit <emiterr> --help

image

render nested options
image

@microsoft-github-policy-service microsoft-github-policy-service bot added the compiler:core Issues for @typespec/compiler label Feb 26, 2026
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 26, 2026

Open in StackBlitz

npm i https://pkg.pr.new/microsoft/typespec/@typespec/compiler@9829

commit: d4267c2

@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

❌ There is undocummented changes. Run chronus add to add a changeset or click here.

The following packages have changes but are not documented.

  • @typespec/compiler
Show changes

@azure-sdk
Copy link
Collaborator

azure-sdk commented Feb 26, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:core Issues for @typespec/compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants