slackdo 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +8 -2
- data/lib/slackdo/version.rb +1 -1
- data/lib/slackdo.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76a0f88e0c4a9e662f5e0b6e6d60fa129d0898fc
|
4
|
+
data.tar.gz: e45f582661a9f5cc90e892b864a3cf6cb4839fad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dab4d921323e0f05c4d3471e33ff44f825a0f8559aadb33e33eadcbcc0b8ca6b29f299abb9994292710ee5e5099d8176e91791a0d0481cf871a58ceaa6c2bc85
|
7
|
+
data.tar.gz: 6c8c4a1c2aea632f717d5026ff8eead82bfde339a00bd553d2d5f3d48a78ad5fbf2c4eec1addf1009e5e29a03a743a25adf2c0e21a4551ab1593a53b0878b593
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,10 +1,16 @@
|
|
1
1
|
# Slackdo
|
2
2
|
![example](img/task-example.png)
|
3
3
|
|
4
|
-
SlackDO is a simple CLI tool that allows you to send TODO items and Reminders to yourself on Slack through an incoming webhook.
|
4
|
+
A lot of people use the slack conversation with themselves as a todo list. SlackDO is a simple CLI tool that allows you to send TODO items and Reminders to yourself on Slack through an incoming webhook.
|
5
5
|
|
6
|
-
|
6
|
+
It simplifies the process of maintaining your TODO list from the CLI without having to leave the CLI while working.
|
7
|
+
|
8
|
+
## Prerequisites
|
9
|
+
- Ruby
|
10
|
+
- [Slack Incoming Webhook](https://my.slack.com/services/new/incoming-webhook)
|
11
|
+
- Configure the webhook to your liking and either point the webhook to yourself or a separate todo channel
|
7
12
|
|
13
|
+
## Installation
|
8
14
|
```
|
9
15
|
gem install slackdo
|
10
16
|
```
|
data/lib/slackdo/version.rb
CHANGED
data/lib/slackdo.rb
CHANGED
@@ -33,6 +33,7 @@ module Slackdo
|
|
33
33
|
mrkdwn_in: ["text"]
|
34
34
|
}
|
35
35
|
notifier.post text: "• [#{category}] #{message}", attachments: [note]
|
36
|
+
puts 'Item was posted to Slack...'
|
36
37
|
end
|
37
38
|
end
|
38
39
|
|
@@ -42,6 +43,7 @@ module Slackdo
|
|
42
43
|
cli = HighLine.new
|
43
44
|
message = cli.ask 'Type your reminder:'
|
44
45
|
notifier.post text: "• _#{message}_"
|
46
|
+
puts 'Reminder was posted to Slack...'
|
45
47
|
end
|
46
48
|
end
|
47
49
|
end
|