This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

CLI tool to send messages to the Incoming webhook of Slack (https://slack.com).

Help

usage: slacksend [-h] [-V] [-C CONFIG] [-c CHANNEL] [-U URL] [-u USERNAME]
                 [-i ICON]
                 [message]

Sends messages to slack's incoming webhooks via CLI

positional arguments:
  message               The message to send. If not specified it will be read
                        from STDIN

optional arguments:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  -C CONFIG, --config CONFIG
                        Use a different configuration file
  -c CHANNEL, --channel CHANNEL
                        Send to this channel
  -U URL, --url URL     Slack webhook URL
  -u USERNAME, --username USERNAME
                        Username
  -i ICON, --icon ICON  Icon

Configuration file

The only required option to start sending messages to slack is the webhook url. You can either set this in a configurations file (globally in /etc/slacksend.conf or locally in $HOME/.slacksend.conf) or specify it on the CLI with the –url argument.

This is an example of a configuration file for slacksend:

[DEFAULT]
url = https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXX
icon = :ghost:
username = This is a bot
channel = @myself

Example usage

echo "Hello world!" | slacksend -U https://hooks.slack.com/services/XXX
slacksend -U https://hooks.slack.com/services/XXX "Hello world!"

LICENSE

Copyright (c) 2014 Massimiliano Torromeo

slacksend is free software released under the terms of the BSD license.

See the LICENSE file provided with the source distribution for full details.

Contacts

Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
slacksend-0.1.tar.gz (3.8 kB) Copy SHA256 Checksum SHA256 Source Oct 24, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting