dartcli 1.0.1 copy "dartcli: ^1.0.1" to clipboard
dartcli: ^1.0.1 copied to clipboard

An cli app to help you refactor you dart libraries because VSCode won't.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate dartcli

Use it

The package has the following executables:

$ dartcli

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dartcli

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

dependencies:
  dartcli: ^1.0.1

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

Import it

Now in your Dart code, you can use:

import 'package:dartcli/dart_cli.dart';
import 'package:dartcli/scripts/shell.dart';
import 'package:dartcli/util/stack_list.dart';
import 'package:dartcli/dart_import_app.dart';
import 'package:dartcli/library.dart';
import 'package:dartcli/line.dart';
import 'package:dartcli/move_command.dart';
import 'package:dartcli/move_result.dart';
import 'package:dartcli/patch_command.dart';
import 'package:dartcli/pubspec.dart';
import 'package:dartcli/stack_list.dart';
import 'package:dartcli/yaml.dart';
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

An cli app to help you refactor you dart libraries because VSCode won't.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, file_utils, path, pedantic, yaml

More

Packages that depend on dartcli