nitrogen_cli 0.1.12
nitrogen_cli: ^0.1.12 copied to clipboard
CLI for Nitrogen Modules. Scaffold new Flutter FFI plugins and generate native bridge code.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate nitrogen_cliUse it
The package has the following executables:
$ nitrogen
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add nitrogen_cliWith Flutter:
$ flutter pub add nitrogen_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
nitrogen_cli: ^0.1.12Alternatively, 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:nitrogen_cli/commands/doctor_command.dart';
import 'package:nitrogen_cli/commands/generate_command.dart';
import 'package:nitrogen_cli/commands/init_command.dart';
import 'package:nitrogen_cli/commands/link_command.dart';
import 'package:nitrogen_cli/commands/open_command.dart';
import 'package:nitrogen_cli/commands/update_command.dart';
import 'package:nitrogen_cli/ui.dart';
import 'package:nitrogen_cli/version.dart';