Skip to content

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

@ira-at-work

Description

@ira-at-work

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions