reelsort 0.2.0 → 0.2.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 +321 -152
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +303 -138
- package/dist/index.mjs +304 -139
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -77,13 +77,15 @@ interface ResetOptions {
|
|
|
77
77
|
declare const reset: ({ dir: inputDir, double }: ResetOptions) => Promise<void>;
|
|
78
78
|
|
|
79
79
|
interface ScanOptions {
|
|
80
|
-
type?: 'movie' | 'tv' | 'ps3';
|
|
80
|
+
type?: 'movie' | 'tv' | 'ps3' | 'book';
|
|
81
81
|
hardlink?: boolean;
|
|
82
82
|
dryRun?: boolean;
|
|
83
83
|
verbose?: boolean;
|
|
84
84
|
auto?: boolean;
|
|
85
|
+
force?: boolean;
|
|
86
|
+
interactive?: boolean;
|
|
85
87
|
}
|
|
86
|
-
declare const scan: ({ type, hardlink: useHardlink, dryRun, verbose, auto }: ScanOptions) => Promise<void>;
|
|
88
|
+
declare const scan: ({ type, hardlink: useHardlink, dryRun, verbose, auto, force, interactive }: ScanOptions) => Promise<void>;
|
|
87
89
|
|
|
88
90
|
declare const undo: () => Promise<void>;
|
|
89
91
|
|
|
@@ -100,6 +102,7 @@ interface ReelSortConfig {
|
|
|
100
102
|
movie?: string;
|
|
101
103
|
tv?: string;
|
|
102
104
|
ps3?: string;
|
|
105
|
+
book?: string;
|
|
103
106
|
};
|
|
104
107
|
language?: string;
|
|
105
108
|
tmdbApiKey?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -77,13 +77,15 @@ interface ResetOptions {
|
|
|
77
77
|
declare const reset: ({ dir: inputDir, double }: ResetOptions) => Promise<void>;
|
|
78
78
|
|
|
79
79
|
interface ScanOptions {
|
|
80
|
-
type?: 'movie' | 'tv' | 'ps3';
|
|
80
|
+
type?: 'movie' | 'tv' | 'ps3' | 'book';
|
|
81
81
|
hardlink?: boolean;
|
|
82
82
|
dryRun?: boolean;
|
|
83
83
|
verbose?: boolean;
|
|
84
84
|
auto?: boolean;
|
|
85
|
+
force?: boolean;
|
|
86
|
+
interactive?: boolean;
|
|
85
87
|
}
|
|
86
|
-
declare const scan: ({ type, hardlink: useHardlink, dryRun, verbose, auto }: ScanOptions) => Promise<void>;
|
|
88
|
+
declare const scan: ({ type, hardlink: useHardlink, dryRun, verbose, auto, force, interactive }: ScanOptions) => Promise<void>;
|
|
87
89
|
|
|
88
90
|
declare const undo: () => Promise<void>;
|
|
89
91
|
|
|
@@ -100,6 +102,7 @@ interface ReelSortConfig {
|
|
|
100
102
|
movie?: string;
|
|
101
103
|
tv?: string;
|
|
102
104
|
ps3?: string;
|
|
105
|
+
book?: string;
|
|
103
106
|
};
|
|
104
107
|
language?: string;
|
|
105
108
|
tmdbApiKey?: string;
|