Skip to main content
Module

x/deno_slack_hooks/get_manifest.ts>getManifest

Helper library implementing the contract between the Slack CLI and Slack application SDKs
Latest
variable getManifest
import { getManifest } from "https://deno.land/x/deno_slack_hooks@1.3.0/get_manifest.ts";

Returns a merged manifest object from expected files used to represent an application manifest: manifest.json, manifest.ts and manifest.js. If both a json and ts or js are present, then first the json file will be used as a base object, then the .ts or the .js file export will be merged over the json file. If a .ts file exists, the .js will be ignored. Otherwise, the .js file will be merged over the .json.

type

(cwd: string) => unknown