mcpField
S
Slack CLI

Slack CLI

OfficialFeatured
api.slack.comDeveloper Tools313slackUpdated today
RepositoryVisit website

About Slack CLI

Slack CLI is the official developer tool for building Slack applications. It enables creating new apps, running app functions locally for testing, and deploying to Slack workspaces. After slack login, developers can prototype apps and verify automations before production deployment.

Key features

  1. 01Create and initialize Slack app projects with configuration files
  2. 02Run app functions and triggers locally for testing
  3. 03Deploy app functions to live Slack workspaces

Use cases

  1. 01Develop custom Slack applications and workflow automations
  2. 02Test app logic and user interactions before production deployment
  3. 03Iterate on Slack workspace integrations and extensions

Install

Pick your OS or package manager and run the command in a terminal.

$
brew install slack-cli

Once installed, runslack --versionto confirm it works.

Example commands

Common commands in the order you’d use them.

01
slack login
02
slack create my-app
03
slack run

Details

From the project README

Slack CLI Slack CLI logo

tests codecov CircleCI

Command-line interface for building apps on the Slack Platform.

:wave: Welcome

Welcome to the Slack Platform! This is the source code for command-line interface (CLI), which is your doorway to a new way of building Slack apps.

:books: Download

To get started, choose the type of build you want:

:computer: Usage

Visit our ✨ CLI Reference Documentation to learn about each command.

You can also explore each command through the terminal:

$ slack --help
$ slack [command] --help
$ slack help [command]

:bulb: Remember, development builds must run the binary as ./bin/slack

:hammer_and_wrench: Contributions

We'd love to hear from you, whether it's a :hammer_and_wrench: pull request, :bug: bug report, :sparkles: suggestion, or :rocket: improvement. Feel free to submit an issue or pull request to start a discussion!

:wave: Farewell

Thanks for stopping by! You're awesome :sunglasses:

Comments

Markdown supported