gitarsenal-cli 1.7.10 → 1.8.3
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.
- package/README.md +9 -9
- package/package.json +1 -1
- package/python/test_modalSandboxScript.py +802 -31
- package/test_modalSandboxScript.py +802 -31
package/README.md
CHANGED
@@ -18,26 +18,26 @@ GitArsenal CLI makes it incredibly easy to run any GitHub repository without wor
|
|
18
18
|
|
19
19
|
```bash
|
20
20
|
# Basic usage - clone and run any repo
|
21
|
-
gitarsenal
|
21
|
+
gitarsenal --repo-url https://github.com/username/awesome-project.git
|
22
22
|
|
23
23
|
# With GPU acceleration
|
24
|
-
gitarsenal
|
24
|
+
gitarsenal --gpu A10G --repo-url https://github.com/username/awesome-project.git
|
25
25
|
|
26
26
|
# With custom setup commands
|
27
|
-
gitarsenal
|
27
|
+
gitarsenal --gpu A100 --repo-url https://github.com/username/awesome-project.git --setup-commands "pip install -r requirements.txt" "python setup.py install"
|
28
28
|
```
|
29
29
|
|
30
30
|
### Examples
|
31
31
|
|
32
32
|
```bash
|
33
33
|
# Run a machine learning project
|
34
|
-
gitarsenal
|
34
|
+
gitarsenal --gpu A100 --repo-url https://github.com/username/transformer-project.git --setup-commands "pip install torch transformers" "wandb login"
|
35
35
|
|
36
36
|
# Run a web development project
|
37
|
-
gitarsenal
|
37
|
+
gitarsenal --repo-url https://github.com/username/react-app.git --setup-commands "npm install" "npm start"
|
38
38
|
|
39
39
|
# Run a data science project with persistent storage
|
40
|
-
gitarsenal
|
40
|
+
gitarsenal --gpu A10G --repo-url https://github.com/username/data-analysis.git --volume-name my-data --setup-commands "pip install pandas numpy matplotlib"
|
41
41
|
```
|
42
42
|
|
43
43
|
## API Key Management
|
@@ -78,7 +78,7 @@ Keep your work safe with persistent volumes:
|
|
78
78
|
|
79
79
|
```bash
|
80
80
|
# Create a persistent environment
|
81
|
-
gitarsenal
|
81
|
+
gitarsenal --repo-url https://github.com/username/project.git --volume-name my-work
|
82
82
|
|
83
83
|
# Your data, models, and work will persist between sessions
|
84
84
|
```
|
@@ -88,7 +88,7 @@ Connect directly to your running environment:
|
|
88
88
|
|
89
89
|
```bash
|
90
90
|
# Get SSH connection details
|
91
|
-
gitarsenal
|
91
|
+
gitarsenal --repo-url https://github.com/username/project.git --ssh
|
92
92
|
|
93
93
|
# Connect via SSH to your environment
|
94
94
|
ssh user@your-environment-ip
|
@@ -113,7 +113,7 @@ ssh user@your-environment-ip
|
|
113
113
|
|
114
114
|
1. Install the CLI (see installation instructions)
|
115
115
|
2. Add your API keys: `gitarsenal keys add --service openai`
|
116
|
-
3. Run any repository: `gitarsenal
|
116
|
+
3. Run any repository: `gitarsenal --repo-url https://github.com/username/project.git`
|
117
117
|
4. Start coding!
|
118
118
|
|
119
119
|
No more "works on my machine" - every environment is identical and ready to go.
|