Skip to main content

Primitive Slack CLI

Project description

slack-primitive-cli

slack-primitive-cli can execute Slack web api methods from command line. Command line argument is correspont to web api arguments, so slack-primitive-cli is primitive.

Requirements

  • Python 3.6+

Install

$ pip install slack-primitive-cli

https://pypi.org/project/slack-primitive-cli/

Usage

Sending a message

$ slackcli --token xoxb-XXXXXXX --channel "#random" --text hello

$ export SLACK_API_TOKEN
$ slackcli --channel "#random" --text hello

Uploading files

$ slackcli --channels "#random" --file foo.txt

Supported web api methods.

slack-primitive-cli supports a few web api methods.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slack-primitive-cli-0.1.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

slack_primitive_cli-0.1.0-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page