neh 0.0.10 → 0.0.11

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
  SHA256:
3
- metadata.gz: c27c44b5820241a8c0458fbf980dc4e815d1b68d144b1c5f34499e7ac7f82938
4
- data.tar.gz: 91bff8dfbee7464c4d88ca05ace0abb862c2224d977fe1dde66800898fa69406
3
+ metadata.gz: 93c44325fa63190f3f4ea3ac1360e5f79ba873f7631aa6123ca77db7bfd54e1e
4
+ data.tar.gz: 94eadfd75816415b851bbb86571d262b6b86c476662efcc4f207138f8d9066d7
5
5
  SHA512:
6
- metadata.gz: dadbf680339bbd0bcb496c4e6b258cbafe64e6729d9742447f4334196dc35d15201cf7dbbf5c8820f7ea7eb08b3aacb36420a855e1e68eab459364f364f0be38
7
- data.tar.gz: 48ade2299fad19e7b6bd6b5218de2ce0e26499b281d8acfb43e3334f5211388a48ee9d848738d2488ca966d289fe6ae07ac9d706fd2d6bc943d7b67713e67e96
6
+ metadata.gz: 6224764c0498bbe90b39f3a13feb71c77a42e0a2103e57e647335c7ae5f07049155734ceb854b8b7b584bf37a916311005bffef5e7397ffcde9b1311dcafd8c7
7
+ data.tar.gz: 7b093d1222b7ccf38cc29904b38c69357c3c7a7caad51ea5a44ec866079f008b48d2186175158b4161e0c79c3db2768973b10158f833c24262c036f0fe29083f
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neh
4
+ module Cli
5
+ class Version
6
+ def execute
7
+ puts "neh version #{Neh::VERSION}"
8
+ end
9
+ end
10
+ end
11
+ end
data/lib/neh/thor.rb CHANGED
@@ -4,8 +4,16 @@ require 'thor'
4
4
 
5
5
  require_relative 'cli'
6
6
  require_relative 'cli/o'
7
+ require_relative 'cli/version'
7
8
 
8
9
  class Neh::Thor < Thor
10
+ map %w[--version -v] => :version
11
+
12
+ desc 'version', 'Displays the current version of the application.'
13
+ def version
14
+ Neh::Cli::Version.new.execute
15
+ end
16
+
9
17
  desc 'o', 'This is the most standard command you can use to query an LLM AI.'
10
18
  def o(*)
11
19
  Neh::Cli::O.new(*, options:).execute
data/lib/neh/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neh
4
- VERSION = "0.0.10"
4
+ VERSION = "0.0.11"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atsushi Ishida
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-01 00:00:00.000000000 Z
11
+ date: 2024-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-io
@@ -85,6 +85,7 @@ files:
85
85
  - lib/neh.rb
86
86
  - lib/neh/cli.rb
87
87
  - lib/neh/cli/o.rb
88
+ - lib/neh/cli/version.rb
88
89
  - lib/neh/thor.rb
89
90
  - lib/neh/version.rb
90
91
  - sig/neh.rbs
@@ -95,7 +96,7 @@ metadata:
95
96
  source_code_uri: https://github.com/gipcompany/neh
96
97
  changelog_uri: https://github.com/gipcompany/neh/blob/main/CHANGELOG.md
97
98
  rubygems_mfa_required: 'true'
98
- post_install_message:
99
+ post_install_message:
99
100
  rdoc_options: []
100
101
  require_paths:
101
102
  - lib
@@ -110,8 +111,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
111
  - !ruby/object:Gem::Version
111
112
  version: '0'
112
113
  requirements: []
113
- rubygems_version: 3.5.14
114
- signing_key:
114
+ rubygems_version: 3.4.10
115
+ signing_key:
115
116
  specification_version: 4
116
117
  summary: CLI client for AI with large language models
117
118
  test_files: []