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
Built Distribution
Close
Hashes for slack-primitive-cli-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b62d544193a8f042f8ab018e2fb32c16aff107a1569fbe5aee88396708973e3 |
|
MD5 | 24b035cd991a4d900898ee62e9fa7081 |
|
BLAKE2b-256 | 6415ac1696553f236337dbbd1ad595709e572b0d3e13678740f57544494bac1f |
Close
Hashes for slack_primitive_cli-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fd323c3cc5b2374e6157166c3343a22f7127db9aff3902f19781453fda704e6 |
|
MD5 | 294d823c11b283248cdc4c5be0c0c367 |
|
BLAKE2b-256 | df7fb0a8906c85032babe8d1904e57dd2d678ef7a7be6aa72823b2da47af94f5 |