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 to allow to reliably get arguments of CLI_ARGS #1040

Closed
andreynering opened this issue Mar 7, 2023 · 4 comments · Fixed by #1059
Closed
Labels
good first issue Issues that are good for first-time contributors to pick up.

Comments

@andreynering
Copy link
Member

Idea came from: #327 (comment)

We should use the shell parser library to do that (mvdan/sh).

Reminder: Update documentation to mention this possibility.

@dhanusaputra
Copy link
Contributor

hi, may I help with this task? thanks

@pd93
Copy link
Member

pd93 commented Mar 10, 2023

hi, may I help with this task? thanks

Of course! Anyone is welcome to contribute. Please take a look at our contribution guide and feel free to open a PR if you get this working.

@gabyx
Copy link

gabyx commented Nov 14, 2023

This feature should be provided by Task itself in the form of .CLI_ARGUMENTS which is passed as []string.
It makes absolutely no sense to go over templating to then reextract the arguments.

@mpyw
Copy link

mpyw commented Apr 3, 2024

I agree with that. The actual feature we've wanted is receiving arguments through "$@".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issues that are good for first-time contributors to pick up.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants