gitarsenal-cli 1.7.10 → 1.8.2

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 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 container --repo-url https://github.com/username/awesome-project.git
21
+ gitarsenal --repo-url https://github.com/username/awesome-project.git
22
22
 
23
23
  # With GPU acceleration
24
- gitarsenal container --gpu A10G --repo-url https://github.com/username/awesome-project.git
24
+ gitarsenal --gpu A10G --repo-url https://github.com/username/awesome-project.git
25
25
 
26
26
  # With custom setup commands
27
- gitarsenal container --gpu A100 --repo-url https://github.com/username/awesome-project.git --setup-commands "pip install -r requirements.txt" "python setup.py install"
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 container --gpu A100 --repo-url https://github.com/username/transformer-project.git --setup-commands "pip install torch transformers" "wandb login"
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 container --repo-url https://github.com/username/react-app.git --setup-commands "npm install" "npm start"
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 container --gpu A10G --repo-url https://github.com/username/data-analysis.git --volume-name my-data --setup-commands "pip install pandas numpy matplotlib"
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 container --repo-url https://github.com/username/project.git --volume-name my-work
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 container --repo-url https://github.com/username/project.git --ssh
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 container --repo-url https://github.com/username/project.git`
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitarsenal-cli",
3
- "version": "1.7.10",
3
+ "version": "1.8.2",
4
4
  "description": "CLI tool for creating Modal sandboxes with GitHub repositories",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -197,7 +197,7 @@ class PersistentShell:
197
197
 
198
198
  # Wait for shell to be ready (prompt should be visible)
199
199
  if not self.wait_for_prompt(timeout=2):
200
- print("⚠️ Shell not ready, waiting...")
200
+ # print("⚠️ Shell not ready, waiting...")
201
201
  time.sleep(0.5)
202
202
 
203
203
  # For source commands, we need special handling
@@ -197,7 +197,7 @@ class PersistentShell:
197
197
 
198
198
  # Wait for shell to be ready (prompt should be visible)
199
199
  if not self.wait_for_prompt(timeout=2):
200
- print("⚠️ Shell not ready, waiting...")
200
+ # print("⚠️ Shell not ready, waiting...")
201
201
  time.sleep(0.5)
202
202
 
203
203
  # For source commands, we need special handling