@magpiecloud/mags 1.8.7 → 1.8.8

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/mags.js CHANGED
@@ -451,8 +451,9 @@ async function newVM(args) {
451
451
  const status = await request('GET', `/api/v1/mags-jobs/${response.request_id}/status`);
452
452
 
453
453
  if (status.status === 'running') {
454
- // Just output the ID
455
- console.log(response.request_id);
454
+ log('green', `VM '${name}' created successfully`);
455
+ console.log(` ID: ${response.request_id}`);
456
+ console.log(` SSH: mags ssh ${name}`);
456
457
  return;
457
458
  } else if (status.status === 'error') {
458
459
  log('red', `VM creation failed: ${status.error_message || 'Unknown error'}`);
@@ -1671,7 +1672,7 @@ async function main() {
1671
1672
  break;
1672
1673
  case '--version':
1673
1674
  case '-v':
1674
- console.log('mags v1.8.7');
1675
+ console.log('mags v1.8.8');
1675
1676
  process.exit(0);
1676
1677
  break;
1677
1678
  case 'new':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magpiecloud/mags",
3
- "version": "1.8.7",
3
+ "version": "1.8.8",
4
4
  "description": "Mags CLI - Execute scripts on Magpie's instant VM infrastructure",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: magpie-mags
3
- Version: 1.3.3
3
+ Version: 1.3.4
4
4
  Summary: Mags SDK - Execute scripts on Magpie's instant VM infrastructure
5
5
  Author: Magpie Cloud
6
6
  License: MIT