zendesk-james-moriarty 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: 6c093cf970fccbd0cbf10a9e788a955935afe2ca
4
- data.tar.gz: 434ceec002f574baad3fbf011eeeb9f38f91efe8
3
+ metadata.gz: 93836d479a9cd2fe8474eb0b2568f4334a191472
4
+ data.tar.gz: 7924722f965cfcbd9c1436711605e9b42950daf3
5
5
  SHA512:
6
- metadata.gz: cb18d346d96019596d0208703b8196a53dac2b356e65c056cad7e9235f7752d7c27e311c0c998a47713cbac3cd0146d839288d6602c592a37303baea34d18530
7
- data.tar.gz: 31c0de873ab6b4df5ec610cf40fee3e379f445a73e73b20f1b94678fd2c593b350d9278b60bf6607646542d77e8dde02afafdb6e9227adebdbfd24060b11b4d5
6
+ metadata.gz: 6e34c68d10b8bbbe9d1bc9e96a3c73c14d520d88e3668378d8a207af401056a013a088a04bae15b02c32704dc0f78ba1dfad0f31d3f7661925c53616104b1e48
7
+ data.tar.gz: c4d4b5d06e194ad51856b3f3b7f0e5abbd3376a3e44d89e44c486752fe15f2e31a0657a41c4ff459f8b58ea41cd3fbdabfbce3ad377c33c6f8c3d9dd4ad1ce15
data/README.md CHANGED
@@ -13,9 +13,12 @@ gem install zendesk-james-moriarty
13
13
  ```
14
14
  $ zendesk
15
15
  usage: zendesk [options]
16
- -f, --files json file paths to load
17
- -c, --command command expression to execute
18
- --version print the version
16
+ -f, --files "path/to/file.json"
17
+ -c, --command "<FIELD>=<VALUE>"
18
+ -s, --strategy "ruby", "sqlite3" supported
19
+ -p, --printer "table", "json" supported
20
+ -h, --help
21
+ --version print the version
19
22
 
20
23
  examples:
21
24
 
@@ -31,7 +31,7 @@ module Zendesk
31
31
  def run
32
32
  opts = Slop.parse do |opts|
33
33
  opts.array '-f', '--files', '"path/to/file.json"', default: default_file_paths
34
- opts.string '-c', '--command', '"<FIELD>=<VALUE>"'
34
+ opts.string '-c', '--command', '"<FIELD>=<VALUE>"', required: true
35
35
  opts.string '-s', '--strategy', '"ruby", "sqlite3" supported', default: 'ruby'
36
36
  opts.string '-p', '--printer', '"table", "json" supported', default: 'table'
37
37
 
@@ -42,7 +42,7 @@ module Zendesk
42
42
 
43
43
  exit
44
44
  end
45
-
45
+
46
46
  opts.on '--version', 'print the version' do
47
47
  puts Zendesk::VERSION
48
48
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Zendesk
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk-james-moriarty
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
  - James Moriarty