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: enhance support for multiline cmd args #753

Merged
merged 3 commits into from
Mar 29, 2024

Conversation

antongolub
Copy link
Collaborator

@antongolub antongolub commented Mar 29, 2024

closes #539

  • Tests pass
const p1 = (await $`echo foo
     bar
     "baz
      qux"
`).toString()
// 'foo bar baz\n      qux\n'

const p2 = (await $$`echo foo \
                     bar \
                     baz \
`).toString(),
// 'foo bar baz\n'

@antonmedv antonmedv merged commit 9d5b3e4 into google:main Mar 29, 2024
11 checks passed
@antongolub antongolub deleted the multiline-args branch March 29, 2024 18:35
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.

Add something like $.multiline for multiline commands?
2 participants