multipack 0.3.2+2
multipack: ^0.3.2+2 copied to clipboard
A tool for monorepo management. Link local packages and execute commands in topological order.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate multipack
Use it
The package has the following executables:
$ multipack
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add multipack
With Flutter:
$ flutter pub add multipack
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
multipack: ^0.3.2+2
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:multipack/commands.dart';
import 'package:multipack/commands/analyze.dart';
import 'package:multipack/commands/common.dart';
import 'package:multipack/commands/exec.dart';
import 'package:multipack/commands/fmt.dart';
import 'package:multipack/commands/info.dart';
import 'package:multipack/commands/pub.dart';
import 'package:multipack/commands/pubspec.dart';
import 'package:multipack/commands/pubspec/bump_alpha.dart';
import 'package:multipack/commands/pubspec/clean.dart';
import 'package:multipack/commands/pubspec/hard_override.dart';
import 'package:multipack/commands/pubspec/override.dart';
import 'package:multipack/commands/pubspec/sync_versions.dart';
import 'package:multipack/commands/test.dart';
import 'package:multipack/package.dart';