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

Add splitArgs template function #1059

Merged
merged 2 commits into from
Mar 17, 2023

Conversation

dhanusaputra
Copy link
Contributor

close #1040

This PR adds a new splitArgs template function

example:

version: '3'

tasks:
  default:
    cmds:
      - cmd: echo '{{splitArgs "foo bar 'foo bar baz'"}}'

docs/docs/changelog.md Outdated Show resolved Hide resolved
task_test.go Outdated Show resolved Hide resolved
@andreynering
Copy link
Member

Thanks @dhanusaputra!

@andreynering andreynering merged commit 9c3ee23 into go-task:master Mar 17, 2023
@pd93 pd93 mentioned this pull request Jul 19, 2023
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 splitArgs template function to allow to reliably get arguments of CLI_ARGS
3 participants