README.md in slack_messaging-2.2.0 vs README.md in slack_messaging-3.0.0

- old
+ new

@@ -1,6 +1,6 @@ -# Slack Messaging [![Maintainability](https://api.codeclimate.com/v1/badges/9aabbea68d6522f4b308/maintainability)](https://codeclimate.com/github/emmahsax/slack_messaging/maintainability) [![Main](https://github.com/emmahsax/slack_messaging/actions/workflows/main.yml/badge.svg)](https://github.com/emmahsax/slack_messaging/actions/workflows/main.yml) +# Slack Messaging [![Main](https://github.com/emmahsax/slack_messaging/actions/workflows/main.yml/badge.svg)](https://github.com/emmahsax/slack_messaging/actions/workflows/main.yml) This is a simple project designed to post messages to a given Slack channel as a bot. ## Installation @@ -51,32 +51,32 @@ ``` And then you can pass in that specific file location like this: ```bash -slack-messaging --config="/PATH/TO/FILE/config.yml" slack +slack-messaging --config="/PATH/TO/FILE/config.yml" send ``` Once the config file is set up, the project is ready to go! To print a friendly message to Slack, run: ```bash -slack-messaging slack +slack-messaging send ``` Here, no specific message is being given to print to Slack, so slack_messaging will choose a random quote. The random quotes are selected using the [Quotable API](http://api.quotable.io/). However, what if you wanted to print something specific? Well, you can! Just run: ```bash -slack-messaging slack 'MESSAGE 1' +slack-messaging send 'MESSAGE 1' ``` You can even print multiple messages at once: ```bash -slack-messaging slack 'MESSAGE 1' 'MESSAGE 2' 'MESSAGE 3' ... 'MESSAGE N' +slack-messaging send 'MESSAGE 1' 'MESSAGE 2' 'MESSAGE 3' ... 'MESSAGE N' ``` The output of slack_messaging will look something like this: <img src="https://github.com/emmahsax/slack_messaging/blob/main/QuoteExample.png" width="500">