Skip to main content
Module

x/deno_slack_protocols/mod.ts

Implements the rules for communication between Slack CLI and any Slack app development SDKs
Latest
import * as denoSlackProtocols from "https://deno.land/x/deno_slack_protocols@0.0.2/mod.ts";

Variables

The baseline CLI<=> SDK protocol: all hook responses from this project go to stdout, and the CLI reads both stdout and stderr and combines them to interpret the hook response. This simplistic protocol has inherent limitations: cannot log diagnostic info!

Based on the arguments provided by the CLI to the SDK hook process, returns an appropriate Protocol interface for communicating with the CLI over the specified protocol.

Protocol implementation that only uses stdout, but uses message boundaries to differentiate between diagnostic information and hook responses.