sort_pubspec_dependencies 0.0.1 copy "sort_pubspec_dependencies: ^0.0.1" to clipboard
sort_pubspec_dependencies: ^0.0.1 copied to clipboard

Dev dart package for sorting dependencies and dev_dependencies in pubspec.yaml

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate sort_pubspec_dependencies

Use it

The package has the following executables:

$ sort_pubspec_dependencies

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add sort_pubspec_dependencies

With Flutter:

 $ flutter pub add sort_pubspec_dependencies

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

dependencies:
  sort_pubspec_dependencies: ^0.0.1

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:sort_pubspec_dependencies/config_mapper.dart';
import 'package:sort_pubspec_dependencies/process_runner.dart';
import 'package:sort_pubspec_dependencies/pubspec_reader/dependency.dart';
import 'package:sort_pubspec_dependencies/pubspec_reader/pubspec_reader.dart';
5
likes
160
points
15.9k
downloads

Publisher

unverified uploader

Weekly Downloads

Dev dart package for sorting dependencies and dev_dependencies in pubspec.yaml

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on sort_pubspec_dependencies