@king-3/file-kit 1.0.0 → 1.0.1
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/dist/cli.js +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -225,7 +225,7 @@ async function base64ToFile(archiveData, outputDir = ".") {
|
|
|
225
225
|
//#endregion
|
|
226
226
|
//#region src/config/defaults.ts
|
|
227
227
|
const CLI_NAME = "File Kit";
|
|
228
|
-
const CLI_VERSION = "1.0.
|
|
228
|
+
const CLI_VERSION = "1.0.1";
|
|
229
229
|
const CLI_ALIAS = "fkt";
|
|
230
230
|
/**
|
|
231
231
|
* 默认配置
|
|
@@ -344,7 +344,7 @@ async function getPassword(providedPwd) {
|
|
|
344
344
|
let userPwd = providedPwd;
|
|
345
345
|
if (!userPwd) {
|
|
346
346
|
userPwd = await password$1({
|
|
347
|
-
message: "
|
|
347
|
+
message: "请输入密码:",
|
|
348
348
|
validate: (value) => {
|
|
349
349
|
if (!value) return "密码不能为空";
|
|
350
350
|
if (value.length < 6) return "密码长度至少 6 位";
|
|
@@ -601,7 +601,7 @@ var encrypt_default = defineCommand({
|
|
|
601
601
|
password: {
|
|
602
602
|
type: "string",
|
|
603
603
|
alias: "p",
|
|
604
|
-
description: "
|
|
604
|
+
description: "加密密码"
|
|
605
605
|
}
|
|
606
606
|
},
|
|
607
607
|
async run({ args, rawArgs }) {
|