Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List components/directives/etc with cli #7829

Closed
Zaba505 opened this issue Sep 27, 2020 · 1 comment
Closed

List components/directives/etc with cli #7829

Zaba505 opened this issue Sep 27, 2020 · 1 comment

Comments

@Zaba505
Copy link

Zaba505 commented Sep 27, 2020

Is your feature request related to a problem? Please describe.
Currently, the cli has a describe subcommand which is great for quickly checking the docs for a specific component. The problem is that there is currently no way for the users to know which components they can describe without going to the docs site.

Describe the solution you'd like
A new subcommand, list, would allow users to list available components/directives/etc.

quasar list components
quasar list directives

This new subcommand is needed less for efficiency but more for uniformity of the cli UX. In other words, the describe command is point-less without the docs site. This leads users to switching focus constantly between the cli and the browser. The list command would then allow users to stay inside one "environment". Examples of a more encompassing UX in a cli are: docker and kubernetes. Each one provides commands, which by themselves are extremely useful but as a whole provide a uniform (in terminal) experience for users.

@rstoenescu
Copy link
Member

Enhancement for the "quasar describe" command will be available in "@quasar/app" v3.1.7

Example:

$ quasar describe list                

 The complete list of API elements:

  • AddressbarColor
  • AppFullscreen
  • AppVisibility
  • BottomSheet
  • Cookies
  • Dark
......

$ quasar describe list storage        

 The list of API elements that match "storage":

  • LocalStorage
  • SessionStorage

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

No branches or pull requests

2 participants