@adbjs/cli 1.1.0 → 1.1.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/index.js +3 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -17448,11 +17448,9 @@ Download Links:
|
|
|
17448
17448
|
function extractFiles(files, level) {
|
|
17449
17449
|
for (const file of files) {
|
|
17450
17450
|
const indent = " ".repeat(level);
|
|
17451
|
-
if (file.l
|
|
17451
|
+
if (file.l) {
|
|
17452
17452
|
console.log(`${indent}${source_default.bold(file.n)}`);
|
|
17453
|
-
file.l
|
|
17454
|
-
console.log(`${indent} ${source_default.blue.underline(link)}`);
|
|
17455
|
-
});
|
|
17453
|
+
console.log(`${indent} ${source_default.blue.underline(file.l)}`);
|
|
17456
17454
|
}
|
|
17457
17455
|
if (file.e && file.e.length > 0) {
|
|
17458
17456
|
console.log(`${indent}${source_default.dim(`${file.n}/`)}`);
|
|
@@ -17947,7 +17945,7 @@ async function voucherInteractive() {
|
|
|
17947
17945
|
}
|
|
17948
17946
|
|
|
17949
17947
|
// src/index.ts
|
|
17950
|
-
var VERSION = "1.1.
|
|
17948
|
+
var VERSION = "1.1.1";
|
|
17951
17949
|
var program2 = new Command;
|
|
17952
17950
|
program2.name("adb").description("AllDebrid CLI - Manage your AllDebrid account from the terminal").version(VERSION).option("--api-key <key>", "AllDebrid API key (overrides config file)").option("--json", "Output results in JSON format").hook("preAction", (thisCommand) => {
|
|
17953
17951
|
const opts = thisCommand.optsWithGlobals();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adbjs/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"description": "Command-line interface for AllDebrid API",
|
|
6
6
|
"author": "Trisard",
|
|
7
7
|
"license": "MIT",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"typecheck": "tsc --noEmit"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@adbjs/sdk": "^2.1.
|
|
51
|
+
"@adbjs/sdk": "^2.1.1",
|
|
52
52
|
"@clack/prompts": "^0.9.1",
|
|
53
53
|
"chalk": "^5.4.1",
|
|
54
54
|
"commander": "^14.0.2",
|