uptimerobot_cmd 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/uptimerobot_cmd/cli.rb +5 -0
- data/lib/uptimerobot_cmd/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: 19b3f9fd50af7ef66b911bfa989af841e9153fd4
|
4
|
+
data.tar.gz: e57daf3be0d59c504e5da45d3807c031a13a1681
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 915aa203eaa0be52041e1b429d677fd1611ac27ce586eb0a0c306e8e7fb3a0e878e489c4f468db2928c5e24060f8e55df21ae0bc5836ee86819cbf33753b0646
|
7
|
+
data.tar.gz: 5391d5f0ce19ee2d851bf0d455f5d7b724b369e7e45383cfa83fd0c6f3b67fc90627d18bc3dfc549ff068627bb9b362c8cf0787b47a8c533672ab9d1e177361a
|
data/README.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
[![Build Status](https://travis-ci.org/vigo/uptimerobot_cmd.svg?branch=master)](https://travis-ci.org/vigo/uptimerobot_cmd)
|
2
|
+
![Version](https://img.shields.io/badge/version-0.2.0-yellow.svg)
|
3
|
+
|
4
|
+
|
1
5
|
# UptimerobotCmd
|
2
6
|
|
3
7
|
Command-line client for [Uptimerobot](https://uptimerobot.com) service.
|
@@ -42,6 +46,7 @@ Commands:
|
|
42
46
|
uptimerobot_cmd help [COMMAND] # Describe available commands or one specific command
|
43
47
|
uptimerobot_cmd list # List current monitors
|
44
48
|
uptimerobot_cmd search NAME or URL # Search in monitored services
|
49
|
+
uptimerobot_cmd version # Version information
|
45
50
|
|
46
51
|
Options:
|
47
52
|
[--color], [--no-color]
|
data/lib/uptimerobot_cmd/cli.rb
CHANGED
@@ -6,6 +6,11 @@ module UptimerobotCmd
|
|
6
6
|
class CLI < Thor
|
7
7
|
class_option :color, :type => :boolean
|
8
8
|
|
9
|
+
desc "version", "Version information"
|
10
|
+
def version
|
11
|
+
puts UptimerobotCmd::VERSION
|
12
|
+
end
|
13
|
+
|
9
14
|
desc "list", "List current monitors"
|
10
15
|
long_desc <<-LONGDESC
|
11
16
|
List current monitored services.\n
|