fpm 0.3.0 fpm: ^0.3.0 copied to clipboard
Flutter Package Manager, powerfull package management via CLI, add/search/top/favorite packages!
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate fpm
Use it
The package has the following executables:
$ fpm
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fpm
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
fpm: ^0.3.0
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:fpm/commands/add.dart';
import 'package:fpm/commands/favorites.dart';
import 'package:fpm/commands/search.dart';
import 'package:fpm/commands/top.dart';
import 'package:fpm/package.dart';
import 'package:fpm/parser.dart';
import 'package:fpm/pretty.printer.dart';
import 'package:fpm/utils/runner.dart';