sms-logparser 0.6.1 → 0.6.2
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.
- checksums.yaml +4 -4
- data/lib/sms-logparser/cli.rb +10 -5
- data/lib/sms-logparser/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: 60f9bdc8815f76a6fbd4265b002e4e542329899f
|
4
|
+
data.tar.gz: a0184b860500317581e80a65fd668a3cf03fd100
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dc096c7e29ece171eb11ec4e3176f0d7b91a83de32e6076d34389110fe2b0b06bdf0674d59869e95522e121d44673cf42ea2cb730ae506b8f769bd51f4d9ccc
|
7
|
+
data.tar.gz: 1385a1986fffedfd48dd1394c006051065b5e4d41c3cfa5f3ea0ebe350b5a69b671c1357011b66730c56499f78e20d811403af9ce68d4dace15c01d5879534d1
|
data/lib/sms-logparser/cli.rb
CHANGED
@@ -36,21 +36,26 @@ module SmsLogparser
|
|
36
36
|
aliases: %w(-a),
|
37
37
|
desc: "Base path of the SMS API (default: http://localhost:8080/)"
|
38
38
|
option :api_key,
|
39
|
-
aliases: %w(-k)
|
39
|
+
aliases: %w(-k),
|
40
|
+
desc: "SMS API Key"
|
40
41
|
option :simulate,
|
41
42
|
type: :boolean,
|
42
43
|
default: false,
|
43
|
-
aliases: %w(-s)
|
44
|
+
aliases: %w(-s),
|
45
|
+
desc: "Dry run without submitting any data"
|
44
46
|
option :verbose,
|
45
47
|
type: :boolean,
|
46
48
|
default: false,
|
47
|
-
aliases: %w(-v)
|
49
|
+
aliases: %w(-v),
|
50
|
+
desc: "Verbose output"
|
48
51
|
option :limit,
|
49
52
|
type: :numeric,
|
50
|
-
aliases: %w(-l)
|
53
|
+
aliases: %w(-l),
|
54
|
+
desc: "Limit the number of entries to query"
|
51
55
|
option :debug,
|
52
56
|
type: :boolean,
|
53
|
-
default: false
|
57
|
+
default: false,
|
58
|
+
desc: "Show debug output"
|
54
59
|
def parse
|
55
60
|
say "Starting the parser...", :green
|
56
61
|
mysql = Mysql.new(options)
|