make fig spec consistent with current code CLI #251945
Merged
+73
−13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix #243808
This pull request enhances the
extensions/terminal-suggest
module by refining CLI options and subcommands incode.ts
and updating corresponding tests incode.test.ts
. Key changes include renaming arguments for clarity, adding new options, improving descriptions, and ensuring test coverage for all updates.Added new CLI options:
--remove: Remove folder(s) from the last active window.
--add-mcp: Adds a Model Context Protocol server definition to the user profile.
--update-extensions: Update the installed extensions.
--disable-lcd-text: Disable LCD font rendering.
--disable-chromium-sandbox: Use this option for launching as sudo/elevated user.
Updated existing options:
--enable-proposed-api: Now supports variadic arguments (multiple extension IDs).
--log: Now supports multiple values (repeatable) and extension-specific log levels (e.g., publisher.name:logLevel).
Descriptions and argument handling:
Updated descriptions for new and existing options to match the latest VS Code CLI help output.
Ensured argument templates and suggestions are accurate for new options.
This enables #244294