nitrogen_cli 0.1.12 copy "nitrogen_cli: ^0.1.12" to clipboard
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_cli

Use 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_cli

With Flutter:

 $ flutter pub add nitrogen_cli

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

dependencies:
  nitrogen_cli: ^0.1.12

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: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';
0
likes
150
points
0
downloads

Documentation

Documentation
API reference

Publisher

verified publishershreeman.dev

Weekly Downloads

CLI for Nitrogen Modules. Scaffold new Flutter FFI plugins and generate native bridge code.

Homepage
Repository (GitHub)
View/report issues

Topics

#cli #codegen #ffi #flutter #native

Funding

Consider supporting this project:

buymeacoffee.com

License

MIT (license)

Dependencies

args, nocterm, nocterm_unrouter, path

More

Packages that depend on nitrogen_cli