cmdgen-ai-cli 0.1.0__tar.gz → 0.1.2__tar.gz
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.
- cmdgen_ai_cli-0.1.2/.gitignore +29 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/PKG-INFO +12 -6
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/README.md +11 -5
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/pyproject.toml +1 -1
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/.github/workflows/ci.yml +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/cmdgen/__init__.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/cmdgen/__main__.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/cmdgen/config.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/cmdgen/context.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/cmdgen/executor.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/cmdgen/llm/__init__.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/cmdgen/llm/base.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/cmdgen/llm/gemini.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/cmdgen/main.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/cmdgen/update.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/tests/__init__.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/tests/test_config.py +0 -0
- {cmdgen_ai_cli-0.1.0 → cmdgen_ai_cli-0.1.2}/wsl +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Environments
|
|
2
|
+
.env
|
|
3
|
+
.venv
|
|
4
|
+
.linux_venv
|
|
5
|
+
env/
|
|
6
|
+
venv/
|
|
7
|
+
ENV/
|
|
8
|
+
|
|
9
|
+
# Python
|
|
10
|
+
__pycache__/
|
|
11
|
+
*.py[cod]
|
|
12
|
+
*$py.class
|
|
13
|
+
|
|
14
|
+
# Distribution / packaging
|
|
15
|
+
build/
|
|
16
|
+
dist/
|
|
17
|
+
*.egg-info/
|
|
18
|
+
.eggs/
|
|
19
|
+
*.egg
|
|
20
|
+
|
|
21
|
+
# Testing
|
|
22
|
+
.pytest_cache/
|
|
23
|
+
.coverage
|
|
24
|
+
htmlcov/
|
|
25
|
+
|
|
26
|
+
# Editor
|
|
27
|
+
.vscode/
|
|
28
|
+
.idea/
|
|
29
|
+
*.swp
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cmdgen-ai-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: AI-powered CLI tool to translate natural language into terminal commands
|
|
5
5
|
Requires-Python: >=3.9
|
|
6
6
|
Requires-Dist: google-genai>=0.1.0
|
|
@@ -31,21 +31,27 @@ An AI-powered CLI tool that translates your natural language into native termina
|
|
|
31
31
|
The recommended way to install Python CLI tools globally is using `pipx`:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
pipx install cmdgen
|
|
34
|
+
pipx install cmdgen-ai-cli
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
*(Alternatively, you can `pip install cmdgen` in a virtual environment)*
|
|
37
|
+
*(Alternatively, you can `pip install cmdgen-ai-cli` in a virtual environment)*
|
|
38
|
+
|
|
39
|
+
## Upgrade
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pipx upgrade cmdgen-ai-cli
|
|
43
|
+
```
|
|
38
44
|
|
|
39
45
|
## Quick Start
|
|
40
46
|
|
|
41
47
|
1. **Get an API Key:** Get a free Gemini API key from [Google AI Studio](https://aistudio.google.com/app/apikey).
|
|
42
48
|
2. **Configure your Key:**
|
|
43
49
|
```bash
|
|
44
|
-
|
|
50
|
+
cg config set --provider gemini --api-key "YOUR_API_KEY"
|
|
45
51
|
```
|
|
46
52
|
3. **Use the Tool:**
|
|
47
53
|
```bash
|
|
48
|
-
|
|
54
|
+
cg find all python files larger than 10MB in the current directory
|
|
49
55
|
```
|
|
50
56
|
|
|
51
57
|
You will see an explanation of the command, and an interactive prompt where you can edit it or just press `Enter` to run it!
|
|
@@ -54,7 +60,7 @@ You will see an explanation of the command, and an interactive prompt where you
|
|
|
54
60
|
|
|
55
61
|
View your current configuration (safely masked):
|
|
56
62
|
```bash
|
|
57
|
-
|
|
63
|
+
cg config view
|
|
58
64
|
```
|
|
59
65
|
|
|
60
66
|
## Contributing
|
|
@@ -15,21 +15,27 @@ An AI-powered CLI tool that translates your natural language into native termina
|
|
|
15
15
|
The recommended way to install Python CLI tools globally is using `pipx`:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
pipx install cmdgen
|
|
18
|
+
pipx install cmdgen-ai-cli
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
*(Alternatively, you can `pip install cmdgen` in a virtual environment)*
|
|
21
|
+
*(Alternatively, you can `pip install cmdgen-ai-cli` in a virtual environment)*
|
|
22
|
+
|
|
23
|
+
## Upgrade
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pipx upgrade cmdgen-ai-cli
|
|
27
|
+
```
|
|
22
28
|
|
|
23
29
|
## Quick Start
|
|
24
30
|
|
|
25
31
|
1. **Get an API Key:** Get a free Gemini API key from [Google AI Studio](https://aistudio.google.com/app/apikey).
|
|
26
32
|
2. **Configure your Key:**
|
|
27
33
|
```bash
|
|
28
|
-
|
|
34
|
+
cg config set --provider gemini --api-key "YOUR_API_KEY"
|
|
29
35
|
```
|
|
30
36
|
3. **Use the Tool:**
|
|
31
37
|
```bash
|
|
32
|
-
|
|
38
|
+
cg find all python files larger than 10MB in the current directory
|
|
33
39
|
```
|
|
34
40
|
|
|
35
41
|
You will see an explanation of the command, and an interactive prompt where you can edit it or just press `Enter` to run it!
|
|
@@ -38,7 +44,7 @@ You will see an explanation of the command, and an interactive prompt where you
|
|
|
38
44
|
|
|
39
45
|
View your current configuration (safely masked):
|
|
40
46
|
```bash
|
|
41
|
-
|
|
47
|
+
cg config view
|
|
42
48
|
```
|
|
43
49
|
|
|
44
50
|
## Contributing
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|