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

feature request: don't fail on null input or a mode where you just send a comment, no snippet. #73

Open
ira-bv opened this issue Nov 10, 2020 · 0 comments
Milestone

Comments

@ira-bv
Copy link

ira-bv commented Nov 10, 2020

I'd like to use the same tool to just post with --comment but no file or stdin. right now I just echo | slackcat and it uploads a two link empty snippet. it's good enough not not as aesthetic. if I pipe null slackcat < /dev/null it returns an error. but sometimes a command has no output, and it's not an error. I just want to get the comment without a snippet in such a case, like from a cron job with no output.

@bcicen bcicen added this to the 2.0 milestone Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants