windows-cleaner-cli
Advanced tools
+24
-9
@@ -6,2 +6,7 @@ #!/usr/bin/env node | ||
| // node_modules/@inquirer/core/dist/lib/errors.js | ||
| var ExitPromptError = class extends Error { | ||
| name = "ExitPromptError"; | ||
| }; | ||
| // src/commands/scan.ts | ||
@@ -1858,13 +1863,23 @@ import chalk2 from "chalk"; | ||
| program.name("windows-cleaner").description("Open source CLI tool to clean your Windows PC").version("1.0.0").option("-r, --risky", "Include risky categories (downloads, iTunes backups, etc)").option("--no-progress", "Disable progress bar").action(async (options) => { | ||
| await interactiveCommand({ | ||
| includeRisky: options.risky, | ||
| noProgress: !options.progress | ||
| }); | ||
| try { | ||
| await interactiveCommand({ | ||
| includeRisky: options.risky, | ||
| noProgress: !options.progress | ||
| }); | ||
| } catch (error) { | ||
| if (error instanceof ExitPromptError) return; | ||
| throw error; | ||
| } | ||
| }); | ||
| program.command("uninstall").description("Remove applications and their related files").option("-y, --yes", "Skip confirmation prompts").option("-d, --dry-run", "Show what would be removed without actually removing").option("--no-progress", "Disable progress bar").action(async (options) => { | ||
| await uninstallCommand({ | ||
| yes: options.yes, | ||
| dryRun: options.dryRun, | ||
| noProgress: !options.progress | ||
| }); | ||
| try { | ||
| await uninstallCommand({ | ||
| yes: options.yes, | ||
| dryRun: options.dryRun, | ||
| noProgress: !options.progress | ||
| }); | ||
| } catch (error) { | ||
| if (error instanceof ExitPromptError) return; | ||
| throw error; | ||
| } | ||
| }); | ||
@@ -1871,0 +1886,0 @@ program.command("maintenance").description("Run maintenance tasks (DNS flush, disk cleanup, etc)").option("--dns", "Flush DNS cache").option("--disk", "Run Windows Disk Cleanup").option("--thumbnails", "Clear thumbnail cache").option("--fonts", "Clear font cache (requires admin)").action(async (options) => { |
+1
-1
| { | ||
| "name": "windows-cleaner-cli", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "Open source CLI tool to clean your Windows PC - remove junk files, caches, logs, and more", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
73139
0.47%1905
0.74%