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.
- checksums.yaml +4 -4
- data/README.md +19 -11
- data/lib/shelp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bab3c5dcc988037aafb8f79226e4357afecc18cb7f476e9d4cbeb79573b05fa
|
4
|
+
data.tar.gz: 9751cf3e75e595ced1de51ebd4924a182c3370ae3cea59d62a718ed3dcc66050
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '03995ff70ac91387a80a82dd0f851b4d1ce2bfdc46110233dae8413a18901ba2b616bc35673b24b4c4aad533a0b458f0e74f021e51a48804139c830cb1b8da0c'
|
7
|
+
data.tar.gz: eb5ac32d118f44d316414495b09dd4fd1f2d3b11c6000e805b571f07db658a810e9857442e7a62310999aa3d3aa6ed7f32633e3f08c2076aec77da9de55994a2
|
data/README.md
CHANGED
@@ -1,24 +1,32 @@
|
|
1
1
|
# Shelp
|
2
2
|
|
3
|
-
|
3
|
+
A command line tool that translates natural language into shell commands, using OpenAI's GPT models.
|
4
4
|
|
5
|
-
|
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
|
-
|
9
|
+
Install the gem by executing:
|
10
10
|
|
11
|
-
|
11
|
+
```bash
|
12
|
+
gem install shelp
|
13
|
+
```
|
12
14
|
|
13
|
-
|
15
|
+
## Usage
|
14
16
|
|
15
|
-
|
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
|
-
|
19
|
+
Once you have your API key, you can set it as an environment variable:
|
18
20
|
|
19
|
-
|
21
|
+
```bash
|
22
|
+
export OPENAI_API_KEY=your-api-key
|
23
|
+
```
|
24
|
+
|
25
|
+
Then you can run the CLI by executing:
|
20
26
|
|
21
|
-
|
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/
|
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/
|
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