rip 1.0.0 copy "rip: ^1.0.0" to clipboard
rip: ^1.0.0 copied to clipboard

Fast, safe, and beautiful CLI & TUI cleanup tool for macOS, Windows, and Linux (Review, Inspect, Purge).

example/rip_example.dart

import 'package:rip/rip.dart';

void main() async {
  print('RIP Clean Example - Scanning system targets...\n');

  final scanner = SystemScanner();
  final categories = await scanner.scanAll(
    onProgress: (name, progress) {
      final pct = (progress * 100).toInt();
      print('[$pct%] Scanning $name...');
    },
  );

  int totalBytes = 0;
  for (final cat in categories) {
    totalBytes += cat.totalSizeBytes;
    print('\n${cat.icon} ${cat.name}: ${SafetyManager.formatBytes(cat.totalSizeBytes)} (${cat.items.length} items)');
  }

  print('\nTotal Reclaimable Space: ${SafetyManager.formatBytes(totalBytes)}');
}
1
likes
160
points
113
downloads

Documentation

API reference

Publisher

verified publishersofluffy.io

Weekly Downloads

Fast, safe, and beautiful CLI & TUI cleanup tool for macOS, Windows, and Linux (Review, Inspect, Purge).

Repository (GitHub)
View/report issues

Topics

#cli #tui #cleaner

License

MIT (license)

Dependencies

args, nocterm, path

More

Packages that depend on rip