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

sigil to indicate reading contents from a process #35

Open
jetmore opened this issue Apr 21, 2021 · 0 comments
Open

sigil to indicate reading contents from a process #35

jetmore opened this issue Apr 21, 2021 · 0 comments
Labels
enhancement New functionality slated to be implemented someday

Comments

@jetmore
Copy link
Owner

jetmore commented Apr 21, 2021

options like --data are moving toward requiring a sigil to indicate that their contents need to be pulled from a file. We could expand this to a new sigil to indicate that the argument is a program to execute, the output of which should be used as the real content. This idea came from a user thinking that's what --pipe did. This is mostly unnecessary as backticks would usually do the same thing, but it would be nice to have the functionality on windows

Example:

--body "some contents"
  uses "some contents"

--body @file.txt
  uses contents of file.txt

--body :"tail -1 file.txt"
  uses the output of "tail -1 file.txt"
@jetmore jetmore added the enhancement New functionality slated to be implemented someday label Apr 21, 2021
@jetmore jetmore modified the milestones: file stuff, backlog-feature Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New functionality slated to be implemented someday
Projects
None yet
Development

No branches or pull requests

1 participant