mold 0.1.3
mold: ^0.1.3 copied to clipboard
Pack an existing project into a portable template archive and unpack it with manifest-driven renaming. Ships its own `mold` CLI (`pack` / `unpack`) and is consumable as a library.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate moldUse it
The package has the following executables:
$ mold
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add moldWith Flutter:
$ flutter pub add moldThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
mold: ^0.1.3Alternatively, 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:mold/mold.dart';