jaguar_generator 1.3.1 jaguar_generator: ^1.3.1 copied to clipboard
Generator for Jaguar
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate jaguar_generator
Use it
The package has the following executables:
$ jaguar_gen
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add jaguar_generator
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
jaguar_generator: ^1.3.1
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:jaguar_generator/builder.dart';
import 'package:jaguar_generator/common/constants.dart';
import 'package:jaguar_generator/common/exceptions/exceptions.dart';
import 'package:jaguar_generator/common/validator.dart';
import 'package:jaguar_generator/generator/generator.dart';
import 'package:jaguar_generator/models/exception.dart';
import 'package:jaguar_generator/models/interceptor.dart';
import 'package:jaguar_generator/models/models.dart';
import 'package:jaguar_generator/models/route.dart';
import 'package:jaguar_generator/parser/exception.dart';
import 'package:jaguar_generator/parser/group.dart';
import 'package:jaguar_generator/parser/interceptor/wrapper_creator.dart';
import 'package:jaguar_generator/parser/parser.dart';
import 'package:jaguar_generator/parser/route.dart';
import 'package:jaguar_generator/to_model/to_model.dart';
import 'package:jaguar_generator/validator/interceptor.dart';
import 'package:jaguar_generator/validator/validator.dart';
import 'package:jaguar_generator/writer/exception.dart';
import 'package:jaguar_generator/writer/writer.dart';