cane_gen 1.0.0 copy "cane_gen: ^1.0.0" to clipboard
cane_gen: ^1.0.0 copied to clipboard

A powerful Dart CLI for generating clean, strongly-typed model and service classes using code_builder and AST manipulation.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate cane_gen

Use it

The package has the following executables:

$ cane_gen

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add cane_gen

With Flutter:

 $ flutter pub add cane_gen

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

dependencies:
  cane_gen: ^1.0.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:cane_gen/cane_gen.dart';
1
likes
130
points
31
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A powerful Dart CLI for generating clean, strongly-typed model and service classes using code_builder and AST manipulation.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, args, code_builder, dart_style, io, path, prompts

More

Packages that depend on cane_gen