-
Notifications
You must be signed in to change notification settings - Fork 43
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
Intuitive syntax for calling external programs preserving output #649
Comments
As discussed in the chat, a single
|
Having some reservations (it would already be implemented otherwise). Thinking here: This is line oriented syntax: from
|
Still thinking about syntax and not finding anything that would be "oh, that's right!". Any ideas on that front @mturilin ? |
I was also looking at xonsh and they have nice syntax for "uncaptured subprocess": https://xon.sh/tutorial.html#uncaptured-subprocess-with-and My previous example would look like this:
|
Sounds like a candidate. Need to think a bit about how it fits with the rest. |
In |
Note: This is a minor nitpick for otherwise an amazing system.
Role:
As a developer, I want to use NGS to create scripts that stitch together external commands, like in shell scripts.
Problem:
$(top_level::
looks less intuitive than plan bash.Example 1: NGS
You can see that
$(top_level::
visually distracts from the command itself.Bash:
I think this syntax looks much cleaner.
The text was updated successfully, but these errors were encountered: