magpie_cli 0.1.5 copy "magpie_cli: ^0.1.5" to clipboard
magpie_cli: ^0.1.5 copied to clipboard

Tools for magpie workflow, used to create template and start service.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate magpie_cli

Use it

The package has the following executables:

$ mgpcli

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add magpie_cli

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

dependencies:
  magpie_cli: ^0.1.5

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:magpie_cli/executable.dart';
import 'package:magpie_cli/runner.dart';
import 'package:magpie_cli/utils/generated_config.dart';
import 'package:magpie_cli/utils/util.dart';