gitarsenal-cli 1.4.9 → 1.4.10

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/bin/gitarsenal.js CHANGED
@@ -225,24 +225,7 @@ async function runContainerCommand(options) {
225
225
  }
226
226
  }
227
227
 
228
- // Show configuration summary
229
- console.log(chalk.bold('\nšŸ“‹ Container Configuration:'));
230
- console.log(chalk.cyan('Repository URL: ') + repoUrl);
231
- console.log(chalk.cyan('GPU Type: ') + gpuType);
232
- console.log(chalk.cyan('Volume: ') + (volumeName || 'None'));
233
-
234
- if (useApi) {
235
- console.log(chalk.cyan('Setup Commands: ') + 'Auto-detect from repository');
236
- } else if (setupCommands.length > 0) {
237
- console.log(chalk.cyan('Setup Commands:'));
238
- setupCommands.forEach((cmd, i) => {
239
- console.log(` ${i + 1}. ${cmd}`);
240
- });
241
- } else {
242
- console.log(chalk.cyan('Setup Commands: ') + 'None');
243
- }
244
-
245
- // Confirm settings
228
+ // Confirm settings (configuration will be shown by Python script after GPU selection)
246
229
  if (!skipConfirmation) {
247
230
  const confirmAnswers = await inquirer.prompt([
248
231
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitarsenal-cli",
3
- "version": "1.4.9",
3
+ "version": "1.4.10",
4
4
  "description": "CLI tool for creating Modal sandboxes with GitHub repositories",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -4147,7 +4147,7 @@ def prompt_for_gpu():
4147
4147
  """Display the GPU selection menu with current selection highlighted."""
4148
4148
  print("\nšŸ“Š Available GPU Options:")
4149
4149
  print("ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”")
4150
- print("│ GPU Type │ Memory │")
4150
+ print("│ GPU Type │ VRAM │")
4151
4151
  print("ā”œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¤")
4152
4152
 
4153
4153
  for i, gpu_type in enumerate(options):
@@ -4299,6 +4299,16 @@ if __name__ == "__main__":
4299
4299
  else:
4300
4300
  print("Setup Commands: Auto-detect from repository")
4301
4301
 
4302
+ # Confirm settings
4303
+ try:
4304
+ proceed = input("Proceed with these settings? (Y/n): ").strip().lower()
4305
+ if proceed in ('n', 'no'):
4306
+ print("šŸ›‘ Operation cancelled by user.")
4307
+ sys.exit(0)
4308
+ except KeyboardInterrupt:
4309
+ print("\nšŸ›‘ Operation cancelled by user.")
4310
+ sys.exit(0)
4311
+
4302
4312
  # Interactive mode or missing required arguments
4303
4313
  if args.interactive or not args.repo_url or not args.volume_name:
4304
4314
  # Get repository URL if not provided