magic_cli 0.0.1-alpha.2
magic_cli: ^0.0.1-alpha.2 copied to clipboard
Command-line tools for Magic Framework. Scaffolding, code generation, and project management.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate magic_cliUse it
The package has the following executables:
$ magic
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add magic_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
magic_cli: ^0.0.1-alpha.2Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:magic_cli/magic_cli.dart';