@lexmanh/shed-cli 0.2.0-beta.1 → 0.2.0-beta.3
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 +2 -2
- package/package.json +7 -3
package/dist/cli.js
CHANGED
|
@@ -581,7 +581,7 @@ var ART = [
|
|
|
581
581
|
].join("\n");
|
|
582
582
|
function printLogo(version2) {
|
|
583
583
|
console.log(pc6.cyan(ART));
|
|
584
|
-
console.log(` ${pc6.dim(`v${version2} \xB7 safe disk cleanup
|
|
584
|
+
console.log(` ${pc6.dim(`v${version2} \xB7 safe disk cleanup \xB7 dev machines & servers`)}`);
|
|
585
585
|
console.log(
|
|
586
586
|
` ${pc6.dim("by")} ${pc6.white("L\xEA Xu\xE2n M\u1EA1nh")} ${pc6.dim("\xB7 https://github.com/lexmanh/shed")}
|
|
587
587
|
`
|
|
@@ -592,7 +592,7 @@ function printLogo(version2) {
|
|
|
592
592
|
var require2 = createRequire(import.meta.url);
|
|
593
593
|
var { version } = require2("../package.json");
|
|
594
594
|
var program = new Command();
|
|
595
|
-
program.name("shed").description("Safe
|
|
595
|
+
program.name("shed").description("Safe disk cleanup for dev machines and Linux servers").version(version).option("-v, --verbose", "Enable verbose logging");
|
|
596
596
|
program.command("scan [path]").description("Scan for cleanable items without modifying anything").option("--json", "Output machine-readable JSON").option("--max-age <days>", "Only include items older than N days", "30").action(scanCommand);
|
|
597
597
|
program.command("clean [path]").description("Interactive cleanup of detected items").option("--dry-run", "Preview operations without executing", true).option("--execute", "Actually perform the cleanup (overrides --dry-run)").option("--hard-delete", "Skip Trash, delete permanently").option("--include-red", "Include Red-tier (high-risk) items").option("--yes", "Skip interactive confirmations (CI mode)").action(cleanCommand);
|
|
598
598
|
program.command("undo").description("List and restore items from previous cleanups").action(undoCommand);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lexmanh/shed-cli",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
4
|
-
"description": "Safe
|
|
3
|
+
"version": "0.2.0-beta.3",
|
|
4
|
+
"description": "Safe disk cleanup CLI for dev machines and Linux servers — git-aware, cross-stack, trash-by-default",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"shed": "./dist/cli.js"
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
"dist",
|
|
11
11
|
"package.json"
|
|
12
12
|
],
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/lexmanh/shed.git"
|
|
16
|
+
},
|
|
13
17
|
"publishConfig": {
|
|
14
18
|
"access": "public"
|
|
15
19
|
},
|
|
@@ -19,7 +23,7 @@
|
|
|
19
23
|
"conf": "^13.1.0",
|
|
20
24
|
"execa": "^9.5.0",
|
|
21
25
|
"picocolors": "^1.1.1",
|
|
22
|
-
"@lexmanh/shed-core": "0.2.0-beta.
|
|
26
|
+
"@lexmanh/shed-core": "0.2.0-beta.3"
|
|
23
27
|
},
|
|
24
28
|
"devDependencies": {
|
|
25
29
|
"@types/node": "^22.10.0",
|