@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 +2 -2
- package/public-api.js +3 -1
- package/public-api.js.map +1 -1
- package/public-api.mjs +3 -1
- package/public-api.mjs.map +1 -1
- package/umd/index.global.js +1 -1
package/public-api.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { ICliCompletionProvider_TOKEN, ICliFileTransferService_TOKEN, BrowserFil
|
|
|
4
4
|
var IFileSystemService_TOKEN = "cli-file-system-service";
|
|
5
5
|
|
|
6
6
|
// src/lib/version.ts
|
|
7
|
-
var LIBRARY_VERSION = "2.0.0-beta.
|
|
7
|
+
var LIBRARY_VERSION = "2.0.0-beta.12";
|
|
8
8
|
var API_VERSION = 2;
|
|
9
9
|
|
|
10
10
|
// src/lib/processors/cli-ls-command-processor.ts
|
|
@@ -5070,6 +5070,7 @@ var CliUploadCommandProcessor = class {
|
|
|
5070
5070
|
const accept = command.args?.["accept"];
|
|
5071
5071
|
const destPath = command.value?.trim() || void 0;
|
|
5072
5072
|
context.spinner?.show("Waiting for file selection...");
|
|
5073
|
+
context.setStatusText("Waiting for file selection");
|
|
5073
5074
|
const picked = await fileService.uploadFromBrowser(accept);
|
|
5074
5075
|
if (!picked) {
|
|
5075
5076
|
context.spinner?.hide();
|
|
@@ -5082,6 +5083,7 @@ var CliUploadCommandProcessor = class {
|
|
|
5082
5083
|
filename.startsWith("/") ? filename : cwd + "/" + filename
|
|
5083
5084
|
);
|
|
5084
5085
|
context.spinner?.show(`Saving "${picked.name}" (${picked.content.length} bytes)...`);
|
|
5086
|
+
context.setStatusText(`Saving ${picked.name}`);
|
|
5085
5087
|
try {
|
|
5086
5088
|
fs.writeFile(resolved, picked.content);
|
|
5087
5089
|
await fs.persist();
|