Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Post data received on stdin as a single message wrapped in a codeblock #11

Description

@saj

Hi!

What was the rationale behind 8ce046d? I imagine this change in behaviour would be useful when dealing with streaming output. Was that the intended use case?

I use slackcat to plumb finite chunks of command output into Slack. So that the lines of command output are not multiplexed with concurrent channel activity from other users, it would be nice to consume and post the entire stdin stream as before. Marking the text as preformated would also improve legibility.

Would you be receptive to such a PR? We could accommodate both use cases with a new --stream flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions