neh 0.0.10 → 0.0.11
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/neh/cli/version.rb +11 -0
- data/lib/neh/thor.rb +8 -0
- data/lib/neh/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93c44325fa63190f3f4ea3ac1360e5f79ba873f7631aa6123ca77db7bfd54e1e
|
4
|
+
data.tar.gz: 94eadfd75816415b851bbb86571d262b6b86c476662efcc4f207138f8d9066d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6224764c0498bbe90b39f3a13feb71c77a42e0a2103e57e647335c7ae5f07049155734ceb854b8b7b584bf37a916311005bffef5e7397ffcde9b1311dcafd8c7
|
7
|
+
data.tar.gz: 7b093d1222b7ccf38cc29904b38c69357c3c7a7caad51ea5a44ec866079f008b48d2186175158b4161e0c79c3db2768973b10158f833c24262c036f0fe29083f
|
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
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.
|
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-
|
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.
|
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: []
|