log_removal 1.2.0 copy "log_removal: ^1.2.0" to clipboard
log_removal: ^1.2.0 copied to clipboard

A CLI tool for removing unwanted logs from Dart and Flutter projects.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate log_removal

Use it

The package has the following executables:

$ log_removal

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add log_removal

With Flutter:

 $ flutter pub add log_removal

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  log_removal: ^1.2.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:log_removal/core/directory_selector.dart';
import 'package:log_removal/core/file_handler.dart';
import 'package:log_removal/core/log_cleaner.dart';
import 'package:log_removal/core/log_removal_manager.dart';
import 'package:log_removal/models/pattern.dart';
import 'package:log_removal/models/result.dart';
import 'package:log_removal/utils/path_utils.dart';
7
likes
140
points
51
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool for removing unwanted logs from Dart and Flutter projects.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

dart_console, interact

More

Packages that depend on log_removal