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

Suggestion: Allow command arguments to be passed #12

Open
burtek opened this issue Oct 19, 2018 · 1 comment
Open

Suggestion: Allow command arguments to be passed #12

burtek opened this issue Oct 19, 2018 · 1 comment

Comments

@burtek
Copy link

burtek commented Oct 19, 2018

Hi!

I'm using vscode-yarn along with fabiospampinato.vscode-commands (which allows for statusbar customization by adding custom actions). I'd love to be able to pass argument to yarn-script.runScript command as per:

{
    "commands.commands": [
        {
            "text": "$(triangle-right) Android",
            "command": "yarn-script.runScript",
            "arguments": ["buildRunAndroid"],
            "tooltip": "Build and run android in watch mode"
        }
    ]
}

Unfortunately, vscode-yarn does not recognize arguments passed this way (it works with at least few other extensions and all built-in commands). Is it possible to add this feature?

@burtek burtek changed the title Allow command arguments to be passed Suggestion: Allow command arguments to be passed Oct 19, 2018
@gamunu
Copy link
Owner

gamunu commented Oct 19, 2018

Thanks for reporting. Yes this is definitely something to consider.

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