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

pass the flags to scripts #93

Closed
wants to merge 3 commits into from
Closed

pass the flags to scripts #93

wants to merge 3 commits into from

Conversation

ajaymathur
Copy link
Member

@ajaymathur ajaymathur commented Dec 31, 2017

Reference #90

@ajaymathur ajaymathur changed the title [WIP] pass the flags to scripts pass the flags to scripts Jan 1, 2018
@ajaymathur ajaymathur mentioned this pull request Jan 1, 2018
6 tasks
@@ -19,7 +20,8 @@ export function toRunOptions(
return {
cwd: options.string(flags.cwd, 'cwd'),
script,
scriptArgs
scriptArgs,
scriptFlags: options.toScriptFlags(flags)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should I concat scriptFlags and scriptArgs, and send them as single parameter 🤔

@jamiebuilds
Copy link
Member

I don't think we should be converting meow's output back into an argv string. I think we should pass argv through directly.

@ajaymathur ajaymathur closed this Jan 2, 2018
@ajaymathur ajaymathur deleted the pass-flags-to-script branch January 16, 2018 21:01
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

Successfully merging this pull request may close these issues.

2 participants