README.md in sm-1.0.0 vs README.md in sm-2.0.0

- old
+ new

@@ -25,19 +25,19 @@ `SLACK_WEBHOOK_URL` (required) - Get this by [creating an incoming webhook integration in your slack account](https://api.slack.com/incoming-webhooks) `SLACKBOT_USERNAME` (optional) - The user name to send the message as. Defaults to 'slackbot' `SLACK_MSG_ICON_EMOJI'` (optional) - The avatar emoji to use for the message. Defaults to ':ghost:' ```bash -post-slack-msg 'CHANNEL' 'YOUR MESSAGE' +slack-msg 'CHANNEL' 'YOUR MESSAGE' Example: -post-slack-msg '#doughnuts' "I've got a dozen!" +slack-msg '#doughnuts' "I've got a dozen!" Piping output from other programs as the slack message text: -{ echo My current processes:; ps; } | bundle exec post-slack-msg '#system-msgs' +{ echo My current processes:; ps; } | slack-msg '#system-msgs' ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.