smartpub 0.1.0-alpha.1 copy "smartpub: ^0.1.0-alpha.1" to clipboard
smartpub: ^0.1.0-alpha.1 copied to clipboard

Alpha release - A CLI tool for Flutter/Dart projects that analyzes, cleans, and organizes 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 smartpub

Use it

The package has the following executables:

$ smartpub

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add smartpub

With Flutter:

 $ flutter pub add smartpub

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

dependencies:
  smartpub: ^0.1.0-alpha.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:smartpub/smartpub.dart';
1
likes
150
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

Alpha release - A CLI tool for Flutter/Dart projects that analyzes, cleans, and organizes dependencies in pubspec.yaml

Repository (GitHub)
View/report issues
Contributing

Topics

#dependencies #pubspec #flutter #dart #dependency-management

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ansicolor, args, path, yaml

More

Packages that depend on smartpub