@qodalis/cli-files 2.0.0-beta.11 → 2.0.0-beta.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qodalis/cli-files",
3
- "version": "2.0.0-beta.11",
3
+ "version": "2.0.0-beta.12",
4
4
  "description": "@qodalis/cli extension for Linux file management commands with in-memory filesystem.",
5
5
  "author": "Nicolae Lupei, Qodalis Solutions",
6
6
  "license": "MIT",
@@ -23,7 +23,7 @@
23
23
  "umd": "./umd/index.global.js",
24
24
  "unpkg": "./umd/index.global.js",
25
25
  "dependencies": {
26
- "@qodalis/cli-core": "2.0.0-beta.11"
26
+ "@qodalis/cli-core": "2.0.0-beta.12"
27
27
  },
28
28
  "sideEffects": false,
29
29
  "main": "./public-api.js",
package/public-api.js CHANGED
@@ -6,7 +6,7 @@ var cliCore = require('@qodalis/cli-core');
6
6
  var IFileSystemService_TOKEN = "cli-file-system-service";
7
7
 
8
8
  // src/lib/version.ts
9
- var LIBRARY_VERSION = "2.0.0-beta.11";
9
+ var LIBRARY_VERSION = "2.0.0-beta.12";
10
10
  var API_VERSION = 2;
11
11
 
12
12
  // src/lib/processors/cli-ls-command-processor.ts
@@ -5072,6 +5072,7 @@ var CliUploadCommandProcessor = class {
5072
5072
  const accept = command.args?.["accept"];
5073
5073
  const destPath = command.value?.trim() || void 0;
5074
5074
  context.spinner?.show("Waiting for file selection...");
5075
+ context.setStatusText("Waiting for file selection");
5075
5076
  const picked = await fileService.uploadFromBrowser(accept);
5076
5077
  if (!picked) {
5077
5078
  context.spinner?.hide();
@@ -5084,6 +5085,7 @@ var CliUploadCommandProcessor = class {
5084
5085
  filename.startsWith("/") ? filename : cwd + "/" + filename
5085
5086
  );
5086
5087
  context.spinner?.show(`Saving "${picked.name}" (${picked.content.length} bytes)...`);
5088
+ context.setStatusText(`Saving ${picked.name}`);
5087
5089
  try {
5088
5090
  fs.writeFile(resolved, picked.content);
5089
5091
  await fs.persist();