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

Feature request: hide pseudo-private scripts #17

Open
kopach opened this issue Feb 9, 2020 · 0 comments
Open

Feature request: hide pseudo-private scripts #17

kopach opened this issue Feb 9, 2020 · 0 comments

Comments

@kopach
Copy link

kopach commented Feb 9, 2020

First. I do like this tool very much, it's one of the most used plugins for me. Thank you!

Now about feature. I do have lots of scripts in my projects. To keep them clean and don't repeat myself, I prefer to group some common parts under sub-scripts, which may not make sense if executed standalone. For example:

"_watch": "...",
"watch:chromium": "npm run _watch -- 'chromium'...",
"watch:firefox": "npm run _watch -- 'firefox'...",

I will never execute _watch itself, so having it on the list of possible commands only harm.

Any chance, this plugin could have some default configuration, which I could use to hide my scripts from the list? E.g. _ on the beginning (same as people do it in JS) or any other (more unique) character. What do you think?

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

No branches or pull requests

1 participant