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

feat: execInteractive takes string or string[] #637

Merged
merged 7 commits into from
Apr 25, 2024

Conversation

mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Apr 24, 2024

execInteractiveCmd has a problem with spaces (it does split on ' ') but that also hits the spaces inside double quotes in flag values like --flag "space here"

This provides the alternative to pass in the normal "argv" structure like execInteractiveCmd(['mycmd', '--flag', '"space here"'])

also cleaned up some param-reassign linter stuff in execCmd module

used here (proof of correctness) salesforcecli/plugin-deploy-retrieve#988

@mshanemc mshanemc merged commit 9819b52 into main Apr 25, 2024
12 of 13 checks passed
@mshanemc mshanemc deleted the sm/spaces-in-execInteractive branch April 25, 2024 17:41
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.

3 participants