intent 0.2.6 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/intent/todo/manager.rb +7 -0
- data/lib/intent/version.rb +1 -1
- 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: f4db85118ec3aacff4a59f373a8c81e0e5391ae8
|
4
|
+
data.tar.gz: 2c74e9221795891871b69b3cff47b9aef26d32e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c86b868141b26d2f68655fb783a146c0385d86c16ce490d2558d744c87296e7b0f7ad6ef0779807d92d01fbf43a80ef78c7fb8119281b5e210a49aa839ff07f8
|
7
|
+
data.tar.gz: f80f0f25fd2e86a15b3248aa08f43e8d812c804ac087be8a312329443dd3310b46a2c5d044428f82fc7f6a67c3b8faa655669fbc7e6c07f390305c1e55348aa0
|
data/lib/intent/todo/manager.rb
CHANGED
@@ -145,6 +145,13 @@ module Intent
|
|
145
145
|
priority_ratio.floor.times { print pastel.red("█") }
|
146
146
|
print "\n"
|
147
147
|
end
|
148
|
+
when :collect
|
149
|
+
output = `chrome-cli list links`
|
150
|
+
output.lines.each do |line|
|
151
|
+
input = line.split(" ").last
|
152
|
+
list.unshift(Task.new("#{Date.today} #{input} @reading")) if input
|
153
|
+
list.save!
|
154
|
+
end
|
148
155
|
end
|
149
156
|
end
|
150
157
|
end
|
data/lib/intent/version.rb
CHANGED