past_yer_eyes 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82c53299e1f9ce0cc64a2e0504058ba41a8bc932
4
- data.tar.gz: 7be1dfc87e19ef94a95ab6674698842ad9f95f9d
3
+ metadata.gz: c18495e807b2ce25602f8aa69a49244221f94eb3
4
+ data.tar.gz: 5a7ae5401634428f61835934c5e71c28a133a09a
5
5
  SHA512:
6
- metadata.gz: 68fb7a0153e541f33093e484abcd90fe54c1a1f81d6842e41454cd44328abc489c76f81b6b1856c07baeac2fec84f3c9a2749361cb98826835739d887eea6400
7
- data.tar.gz: 20adee7b844dc9dfadf256b2d62736910348b0f3ccc02c57cbe76d1087ff491280e773fde143284df951dd3f5a242dfb01eeee46b45e5319ebb3c8246dcf5095
6
+ metadata.gz: cdb39c2f08f957aa4225a277a67791f71e04c9e097a961f292a52caef7fd8a5c73bf6adb3f32cbdcaf77072857b43cede625d545cf6fc6aeb168d508a1d8580c
7
+ data.tar.gz: 75d921c89fb9b0b8efdcc91ac96cd7d15c3d7e7a48cf9754849dcb079c7f4c9005ca36086d4be4816487a9335524ea7797adb339ec3d5d61f5cce920ee0a5212
@@ -2,15 +2,21 @@ require "thor"
2
2
 
3
3
  module PastYerEyes
4
4
  class CLI < Thor
5
- desc "parse_logs", "Parse Batch Reports and create a Google sheet"
6
- long_desc <<-DESC
7
- past_yer_eyes OPTIONS:
5
+ desc "help", "Show options"
6
+ def help
7
+ help_screen = <<-DESC
8
+ past_yer_eyes OPTIONS:
9
+
10
+ -l, --log_file=PASTEURIZATION_LOG_FILE, :default => "pasteurization.json"
11
+ -s, --sheet_name=SPREADSHEET_NAME, :default => "Pasteurization Batches CURRENT_TIME"
12
+ -e, --session=SESSION_FILE, :default => "session.json"
8
13
 
9
- -l, --log_file=PASTEURIZATION_LOG_FILE, :default => "pasteurization.json"
10
- -s, --sheet_name=SPREADSHEET_NAME, :default => "Pasteurization Batches CURRENT_TIME"
11
- -e, --session=SESSION_FILE, :default => "session.json"
12
- DESC
14
+ DESC
13
15
 
16
+ puts help_screen
17
+ end
18
+
19
+ desc "parse_logs", "Parse Batch Reports and create a Google sheet"
14
20
  option :log_name, :type => :string, :default => "./pasteurization.json", :aliases => "-l"
15
21
  option :sheet_name, :type => :string, :aliases => "-s"
16
22
  option :session, :type => :string, :default => "./session.json", :aliases => "-e"
@@ -1,3 +1,3 @@
1
1
  module PastYerEyes
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: past_yer_eyes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Newell