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

Allow multiple ;-separated commands in run! #195

Open
casey opened this issue Oct 12, 2021 · 0 comments
Open

Allow multiple ;-separated commands in run! #195

casey opened this issue Oct 12, 2021 · 0 comments

Comments

@casey
Copy link
Collaborator

casey commented Oct 12, 2021

What do you think about allowing the following:

run!(
  "echo foo";
  "echo bar";
);

I've wanted it a few times, just to make my scripts more compact. It's "macro magic", but I think probably worth it, since I can't think of strong downsides. This would only work for run!, since it's the only macro that doesn't produce output.

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

No branches or pull requests

1 participant