shelp 0.1.0 → 0.2.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -11
  3. data/lib/shelp/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ba623ebc99c85369960fcffb8efb8c2a3cb223b1fca5f93ccfe3ecf098bdd8d
4
- data.tar.gz: 885278d5298b8081a0f2b8f32bbe5cb79e69e19525699814f107dcaae2875c23
3
+ metadata.gz: 7bab3c5dcc988037aafb8f79226e4357afecc18cb7f476e9d4cbeb79573b05fa
4
+ data.tar.gz: 9751cf3e75e595ced1de51ebd4924a182c3370ae3cea59d62a718ed3dcc66050
5
5
  SHA512:
6
- metadata.gz: 8034f49d04d28af1f42a8aa193c1566e62c44977f1bd134c7adad584661e6e2107ad17fff9391ace30174bddf8901aeb96ea7a2c365f307481af1bb846940dbb
7
- data.tar.gz: 192ba9e7229cc02add4d343bc7d03d37dde31899855e1109e5a930f9d72812fbc126445f08b5d07256fb31f540d8a07d7a13887784c463a54b90d775a033f10f
6
+ metadata.gz: '03995ff70ac91387a80a82dd0f851b4d1ce2bfdc46110233dae8413a18901ba2b616bc35673b24b4c4aad533a0b458f0e74f021e51a48804139c830cb1b8da0c'
7
+ data.tar.gz: eb5ac32d118f44d316414495b09dd4fd1f2d3b11c6000e805b571f07db658a810e9857442e7a62310999aa3d3aa6ed7f32633e3f08c2076aec77da9de55994a2
data/README.md CHANGED
@@ -1,24 +1,32 @@
1
1
  # Shelp
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
3
+ A command line tool that translates natural language into shell commands, using OpenAI's GPT models.
4
4
 
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/shelp`. To experiment with that code, run `bin/console` for an interactive prompt.
5
+ DISCLAIMER: This is work in progress and might be rough around the edges. Please be patient and report any issues you encounter.
6
6
 
7
7
  ## Installation
8
8
 
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
9
+ Install the gem by executing:
10
10
 
11
- Install the gem and add to the application's Gemfile by executing:
11
+ ```bash
12
+ gem install shelp
13
+ ```
12
14
 
13
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
15
+ ## Usage
14
16
 
15
- If bundler is not being used to manage dependencies, install the gem by executing:
17
+ To use the tool, you need to have an OpenAI API key. You can get one by signing up at [OpenAI](https://platform.openai.com/signup).
16
18
 
17
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
19
+ Once you have your API key, you can set it as an environment variable:
18
20
 
19
- ## Usage
21
+ ```bash
22
+ export OPENAI_API_KEY=your-api-key
23
+ ```
24
+
25
+ Then you can run the CLI by executing:
20
26
 
21
- TODO: Write usage instructions here
27
+ ```bash
28
+ shelp ask "How do I list files in a directory?"
29
+ ```
22
30
 
23
31
  ## Development
24
32
 
@@ -28,7 +36,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
28
36
 
29
37
  ## Contributing
30
38
 
31
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/shelp. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/shelp/blob/main/CODE_OF_CONDUCT.md).
39
+ Bug reports and pull requests are welcome on GitHub at <https://github.com/zackbraksa/shelp>. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/zackbraksa/shelp/blob/main/CODE_OF_CONDUCT.md).
32
40
 
33
41
  ## License
34
42
 
@@ -36,4 +44,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
36
44
 
37
45
  ## Code of Conduct
38
46
 
39
- Everyone interacting in the Shelp project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/shelp/blob/main/CODE_OF_CONDUCT.md).
47
+ Everyone interacting in the Shelp project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/zackbraksa/shelp/blob/main/CODE_OF_CONDUCT.md).
data/lib/shelp/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Shelp
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shelp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zack Braksa