Skip to content

Update spfx create help snapshot for optional --library-name - #263

Closed
iclanton with Copilot wants to merge 4 commits into
mainfrom
copilot/fix-code-review-comment
Closed

Update spfx create help snapshot for optional --library-name#263
iclanton with Copilot wants to merge 4 commits into
mainfrom
copilot/fix-code-review-comment

Conversation

Copilot AI commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The spfx create help snapshot still reflected --library-name as required after the flag was made optional. This updates the CLI help snapshot to match the current command contract and help text.

  • Snapshot alignment

    • Updated CommandLineHelp.test.ts.snap for spfx create so the usage output shows --library-name as optional.
    • Updated the parameter description to reflect the fallback behavior to the solution name.
  • Scope

    • No production code changes.
    • No behavior changes beyond bringing the recorded help output in sync with the existing implementation.
Before:
--template TEMPLATE_NAME --library-name LIBRARY_NAME --component-name COMPONENT_NAME

After:
--template TEMPLATE_NAME [--library-name LIBRARY_NAME] --component-name COMPONENT_NAME

Copilot AI changed the title [WIP] Fix code based on review comment Update spfx create help snapshot for optional --library-name Jul 15, 2026
Copilot AI requested a review from iclanton July 15, 2026 21:24
@iclanton iclanton closed this Jul 15, 2026
@iclanton
iclanton deleted the copilot/fix-code-review-comment branch July 15, 2026 21:30
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