You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will write the values out with commas inbetween them.
Why?
The major benefit of this format is that you don't need to manage, cleanup and parse an intermediary file if you have the CLI tools embedded elsewhere. My selfish reason is to remove those needs from ReaCoMa. It would also facilitate viewing results more easily in the terminal if you want to prototype there fast.
That seems relatively painless. Would suggest using -- as the marker for using std out, to be more unixy. And we should think about whether we'd want to enable input from stdin for pipey goodness.
That seems relatively painless. Would suggest using -- as the marker for using std out, to be more unixy. And we should think about whether we'd want to enable input from stdin for pipey goodness.
stdin is an idea! I think it would let you do, for example, ffmpeg -> flucomathing. In terms of using -- do you mean instead of stdout? AFAIK, and I am likely to be wrong here, -- signifies "don't read any more args" rather than stdout.
That seems relatively painless. Would suggest using -- as the marker for using std out, to be more unixy. And we should think about whether we'd want to enable input from stdin for pipey goodness.
stdin is an idea! I think it would let you do, for example, ffmpeg -> flucomathing. In terms of using -- do you mean instead of stdout? AFAIK, and I am likely to be wrong here, -- signifies "don't read any more args" rather than stdout.
Ah yes, but I see how it makes sense. Like if you want to tell git diff that foo is a path and not a commit with git diff -- foo. So -- kinda means, "no output file".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for setting the output to stdout.
Interface isn't great and is not very "UNIX"y, however, it works.
For example, you can specify output like this:
This will write the values out with commas inbetween them.
Why?
The major benefit of this format is that you don't need to manage, cleanup and parse an intermediary file if you have the CLI tools embedded elsewhere. My selfish reason is to remove those needs from ReaCoMa. It would also facilitate viewing results more easily in the terminal if you want to prototype there fast.