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

Suggestions for additional running modes #4

Open
Lucretiel opened this issue Oct 29, 2020 · 3 comments
Open

Suggestions for additional running modes #4

Lucretiel opened this issue Oct 29, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@Lucretiel
Copy link

  • Combined --loop and --expr, where the lambda is evaluated once per line, and the return value is printed
  • Related to the above, --loop --flatten, which is the same as above, but the lambda returns an IntoIterator (such as Option<T>) and prints each item once per line
  • --display mode, where Display is used instead of Debug when running in expression mode to print items
@fornwall
Copy link
Owner

--display mode, where Display is used instead of Debug when running in expression mode to print items

Perhaps Display should be the default, and Debug opt-in? What do you think?

@Lucretiel
Copy link
Author

Oh, I definitely agree with that. I was only suggesting --display in the interest of backwards compatibility; I definitely thing Display should be the default and Debug can be opted in to.

@fornwall fornwall added the enhancement New feature or request label Dec 16, 2020
@bevsxyz
Copy link

bevsxyz commented Nov 6, 2021

Can we have an offline mode? There is a related issue at cargo-script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants