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

Library command #9

Open
sustained opened this issue Sep 1, 2019 · 3 comments
Open

Library command #9

sustained opened this issue Sep 1, 2019 · 3 comments
Assignees
Labels
priority: Low The issue is insignificant. status: In Progress It's currently being worked on. type: Proposal / RFC Something which needs input gathering on.
Milestone

Comments

@sustained
Copy link
Collaborator

sustained commented Sep 1, 2019

Pull Request

#26

Usage

!library <nameOrAlias>

Aliases

  • !lib
  • !l

Example

Invocation

!library quasar

Result

image

Rationale

Often people haven't heard of a library, or need to be redirected to its github/official website/issue tracker/whatever. Instead of having to send someone a link, we can just use the command.

Furthermore, it could display useful information such as the current version and when it was released which could prove quite useful! Such information could even be updated automatically on a schedule by simply checking package.jsons, or Github releases via the API, or by using NPM's API.

There could also be a way to just get only the information you're interested in, e.g. !lib bootstrap-vue version, !lib vuetify docs.

@sustained sustained added the type: Proposal / RFC Something which needs input gathering on. label Sep 30, 2019
@sustained sustained changed the title Library-related commands. Library command Sep 30, 2019
@sustained sustained added status: Awaiting Input It needs input from other contributors. priority: Low The issue is insignificant. labels Sep 30, 2019
@ZainW
Copy link

ZainW commented Sep 30, 2019

I like the basic version of doing something like !quasar or something not a fan of using prefixes personally because then it becomes a dictionary type thing and rules to memorize instead of intuitively just asking for what you want

@sustained
Copy link
Collaborator Author

We could probably just have both and people can use the shortform or longform - whichever they prefer. 🤷‍♀️

Also you should bare in mind that we have aliases for lazy people so you could do e.g. !library, !lib or !l but yeah it could be good to provide further aliases/shortcuts I guess and is certainly possible.

@sustained
Copy link
Collaborator Author

Relevant: dobromir-hristov/vuecommunity#99

@sustained sustained self-assigned this Oct 6, 2019
@sustained sustained added status: In Progress It's currently being worked on. and removed status: Awaiting Input It needs input from other contributors. labels Oct 7, 2019
@sustained sustained modified the milestones: 0.1, 0.2, 0.3 Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: Low The issue is insignificant. status: In Progress It's currently being worked on. type: Proposal / RFC Something which needs input gathering on.
Projects
None yet
Development

No branches or pull requests

2 participants