puby 1.36.0 puby: ^1.36.0 copied to clipboard
Run commands in all projects in the current directory. Handle monorepos with ease.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate puby
Use it
The package has the following executables:
$ puby
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add puby
With Flutter:
$ flutter pub add puby
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
puby: ^1.36.0
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:puby/command.dart';
import 'package:puby/config.dart';
import 'package:puby/engine.dart';
import 'package:puby/project.dart';
import 'package:puby/pub.dart';
import 'package:puby/time.dart';