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

Allow stdin and piping as input #2

Open
nkakouros opened this issue Apr 16, 2019 · 1 comment
Open

Allow stdin and piping as input #2

nkakouros opened this issue Apr 16, 2019 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@nkakouros
Copy link

I have a tool that outputs some markdown. I would like to pipe that markdown to markcat so that it is beautifully rendered. But I couldn't do that.

mytool | markcat

results in an error:

File doesn't exist

and an exit code of 1.

I also tried to use markcat <<< "$(mytool)" but that failed in a similar way.

@BubuAnabelas
Copy link
Owner

That's because currently markcat only supports reading from files.

I'll change the title of the issue and make it a requested feature, you can contribute by changing this file and making a pull request if you wish.

@BubuAnabelas BubuAnabelas changed the title Can't make markcat work with piping Allow stdin and piping as input Apr 17, 2019
@BubuAnabelas BubuAnabelas added enhancement New feature or request good first issue Good for newcomers labels Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants