jaguar_cli

Command line tool for jaguar-dart

Main help

jaguar help

Building project

Builds Jaguar project.
Generates Apis, RouteGroups, Serializers, ORM beans and Validators from jaguar.yaml config file.

jaguar build

Example jaguar.yaml

apis:
    - path/to/api1.dart
    - path/to/api2.dart
    
serializers:
    - path/to/model1.dart
    - path/to/model2.dart
    
validators:
    - path/to/model1.dart
    - path/to/model2.dart
    
beans:
    - path/to/model1.dart
    - path/to/model2.dart

Building project on file changes

jaguar watch

Create new project

jaguar create::project --repo <some-example> --name <desired-name>

Browse examples repositories for examples.

Create new interceptor

jaguar create::interceptor --name <interceptor-name> --filename <file-name>

Libraries

jaguar_cli

jaguar_cli.build

jaguar_cli.cmd

jaguar_cli.interceptor_creator

jaguar_cli.project_creator