Skip to content

Commit

Permalink
Roadmap: Mention stdin support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Taitava committed Nov 26, 2022
1 parent 51befca commit 158eba2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ These are not in any particular order, but some features are needed to be done b
- E.g. [Git Bash (MINGW)](https://github.com/Taitava/obsidian-shellcommands/discussions/208) could be supported. Not everyone has it, so I'm not going to implement it as a permanent shell in the plugin.
- [Need to take exportability into account](https://github.com/Taitava/obsidian-shellcommands/discussions/108#discussioncomment-3199601) - this needs planning.

## [Support `stdin` (#89)](https://github.com/Taitava/obsidian-shellcommands/discussions/89)
- `stdin` is an input stream that would allow passing long text content (such as contents of a note file) to a shell command.
- Also, some shell commands are designed to work on inputted text, rather than on text submitted via arguments. Without proper `stdin` support, users currently need to use `echo` to pass variables to a shell command's `stdin`. An example: `echo {{tags:,}} | grep myTag`. With `stdin` support, the example could be shortened to just `grep myTag`, with `{{tags:,}}` defined as `stdin` content in a shell command's settings.

# Already implemented features
| SC version | Feature | Discussion | Completed |
|:---------- |:------------------------------------------------------------------- |:------------------------------------------------------------------------- | --------- |
Expand Down

0 comments on commit 158eba2

Please sign in to comment.