goetzrobin / spartan

Cutting-edge tools powering Angular full-stack development.
https://spartan.ng
MIT License
1.13k stars 123 forks source link

Command line ng g @spartan-ng/cli:ui with all option does not import all directive component #208

Closed KhoaLee closed 4 months ago

KhoaLee commented 4 months ago

Please provide the environment you discovered this bug in.

Angular project without using Nx, using only ng cli

Which area/package is the issue in?

Don't know / other

Description

First provide the following cli in the image without specific suffix directive. Then select the option "all", as I understand this option will import all directive to the libs/ui folder location

image

However, it returns "No items were selected". This could be due to 2 possible cases.

  1. First is the suffix directive option was not provide hence the cli think that no items were selected even we selected from the list of option.
  2. Second is the "all" option was not available at the moment for importing all directive at once
image

I could be wrong on the use case of cli. Hope someone can clarify the usage of "all" option.

Please provide the exception or error you saw

No response

Other information

No response

I would be willing to submit a PR to fix this issue

goetzrobin commented 4 months ago

I released a new version of the CLI today. Please let me know if this fixes this issue

KhoaLee commented 4 months ago

Thanks for you quick response. It is working now after selecting "all" option with the spacebar. @goetzrobin