Skip to content

--spfx-version option does not seem to work for the list-templates command #236

@Adam-it

Description

@Adam-it

Description

The help states that

Image

But when I tried filtering list templates by version, it seemed to fail all the time.

Image

Steps to reproduce

  1. Run spfx list-templates --spfx-version 1.22

Expected behavior

should get only templates with SPFx version 1.22

Actual behavior

I get an error

CLI version

you know there is no --version option... anyway it is 0.1.0-pre.2

Node.js version

v22.14.0

Operating system

Windows

Template (if applicable)

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions