@vm0/cli 4.3.0 → 4.4.0
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/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1703,7 +1703,7 @@ var pullCommand = new Command5().name("pull").description("Pull cloud files to l
|
|
|
1703
1703
|
console.log(chalk7.cyan(`Pulling volume: ${config2.name}`));
|
|
1704
1704
|
}
|
|
1705
1705
|
console.log(chalk7.gray("Downloading..."));
|
|
1706
|
-
let url2 = `/api/storages?name=${encodeURIComponent(config2.name)}`;
|
|
1706
|
+
let url2 = `/api/storages?name=${encodeURIComponent(config2.name)}&type=volume`;
|
|
1707
1707
|
if (versionId) {
|
|
1708
1708
|
url2 += `&version=${encodeURIComponent(versionId)}`;
|
|
1709
1709
|
}
|
|
@@ -2006,7 +2006,7 @@ var pullCommand2 = new Command9().name("pull").description("Pull cloud artifact
|
|
|
2006
2006
|
console.log(chalk10.cyan(`Pulling artifact: ${config2.name}`));
|
|
2007
2007
|
}
|
|
2008
2008
|
console.log(chalk10.gray("Downloading..."));
|
|
2009
|
-
let url2 = `/api/storages?name=${encodeURIComponent(config2.name)}`;
|
|
2009
|
+
let url2 = `/api/storages?name=${encodeURIComponent(config2.name)}&type=artifact`;
|
|
2010
2010
|
if (versionId) {
|
|
2011
2011
|
url2 += `&version=${encodeURIComponent(versionId)}`;
|
|
2012
2012
|
}
|
|
@@ -15938,7 +15938,7 @@ function handleError(error43, runId) {
|
|
|
15938
15938
|
|
|
15939
15939
|
// src/index.ts
|
|
15940
15940
|
var program = new Command21();
|
|
15941
|
-
program.name("vm0").description("VM0 CLI - A modern build tool").version("4.
|
|
15941
|
+
program.name("vm0").description("VM0 CLI - A modern build tool").version("4.4.0");
|
|
15942
15942
|
program.command("info").description("Display environment information").action(async () => {
|
|
15943
15943
|
console.log(chalk19.cyan("System Information:"));
|
|
15944
15944
|
console.log(`Node Version: ${process.version}`);
|