irfsdash 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/irfsdash +11 -1
- data/lib/irfsdash/version.rb +1 -1
- metadata +1 -1
data/bin/irfsdash
CHANGED
|
@@ -25,24 +25,34 @@ cmd_opts = case cmd
|
|
|
25
25
|
opt :source, "Your source name", default: 'IRFSdash CLI', type: String
|
|
26
26
|
opt :content, "Your message", type: String
|
|
27
27
|
opt :type, "What content type are you sending", type: String, default: 'string'
|
|
28
|
+
opt :icon, "Your message's icon", type: String, default: nil
|
|
29
|
+
opt :color, "Your message's color", type: String, default: nil
|
|
30
|
+
opt :label, "Message label (for numbers etc)", type: String, default: nil
|
|
28
31
|
end
|
|
29
32
|
when "project"
|
|
30
33
|
Trollop::options do
|
|
31
34
|
opt :source, "Your source name", default: 'IRFSdash CLI', type: String
|
|
32
35
|
opt :project, "The project name", type: String
|
|
33
36
|
opt :happy, "Project state", type: Boolean
|
|
37
|
+
opt :color, "Your message's color", type: String, default: nil
|
|
38
|
+
opt :label, "Project state label", type: String, default: nil
|
|
34
39
|
end
|
|
35
40
|
when "ticker"
|
|
36
41
|
Trollop::options do
|
|
37
42
|
opt :source, "Your source name", default: 'IRFSdash CLI', type: String
|
|
38
43
|
opt :content, "Your message", type: String
|
|
39
44
|
opt :ticker_type, "Send to this ticker type", type: String, default: 'main'
|
|
45
|
+
opt :icon, "Your message's icon", type: String, default: nil
|
|
46
|
+
opt :color, "Your message's color", type: String, default: nil
|
|
40
47
|
end
|
|
41
48
|
when "widget"
|
|
42
49
|
Trollop::options do
|
|
43
50
|
opt :source, "Your source name", default: 'IRFSdash CLI', type: String
|
|
44
|
-
opt :url, "URL to display", type: String
|
|
51
|
+
opt :url, "URL to display", type: String, default: nil
|
|
52
|
+
opt :content, "HTML to display", type: String, default: nil
|
|
45
53
|
opt :title, "Widget title", type: String, default: 'string'
|
|
54
|
+
opt :icon, "Your message's icon", type: String, default: nil
|
|
55
|
+
opt :color, "Your message's color", type: String, default: nil
|
|
46
56
|
end
|
|
47
57
|
|
|
48
58
|
else
|
data/lib/irfsdash/version.rb
CHANGED