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.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

slack_primitive_cli-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file slack-primitive-cli-0.1.1.tar.gz.

File metadata

  • Download URL: slack-primitive-cli-0.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.1 Linux/4.15.0-99-generic

File hashes

Hashes for slack-primitive-cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c4636fd08c7a69dd9050c47d17f6e9dabafd10cab01be795e47077132f686e8c
MD5 3ca8eb6dcaf3deb807d16912574c3b05
BLAKE2b-256 c47e0af976d1beb79df61808232182fd9ddbd55ea6b60ea367963f176d3bf007

See more details on using hashes here.

File details

Details for the file slack_primitive_cli-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for slack_primitive_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb39bea6ffe12f68543c3d067e36f3145c5c8d4697f0e399c3b238219b930ba4
MD5 08df451c59f1858d82abdd78600d464f
BLAKE2b-256 14c6c2dd7ac0744a07e3d4ab7c1be6384dce1a36f36865d944adaa3277c86ccc

See more details on using hashes here.

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