jaguar_cli 0.0.29

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 50

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>

Changelog

0.0.1

  • Initial version, created by Stagehand

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate jaguar_cli

2. Use it

The package has the following executables:


$ jaguar
Version Uploaded Documentation Archive
0.0.29 Jul 9, 2017 Go to the documentation of jaguar_cli 0.0.29 Download jaguar_cli 0.0.29 archive
0.0.28 Jul 9, 2017 Go to the documentation of jaguar_cli 0.0.28 Download jaguar_cli 0.0.28 archive
0.0.27 Jul 9, 2017 Go to the documentation of jaguar_cli 0.0.27 Download jaguar_cli 0.0.27 archive
0.0.26 Jul 9, 2017 Go to the documentation of jaguar_cli 0.0.26 Download jaguar_cli 0.0.26 archive
0.0.25 Jun 5, 2017 Go to the documentation of jaguar_cli 0.0.25 Download jaguar_cli 0.0.25 archive
0.0.24 Jun 4, 2017 Go to the documentation of jaguar_cli 0.0.24 Download jaguar_cli 0.0.24 archive
0.0.23 Mar 5, 2017 Go to the documentation of jaguar_cli 0.0.23 Download jaguar_cli 0.0.23 archive
0.0.22 Feb 18, 2017 Go to the documentation of jaguar_cli 0.0.22 Download jaguar_cli 0.0.22 archive
0.0.21 Feb 5, 2017 Go to the documentation of jaguar_cli 0.0.21 Download jaguar_cli 0.0.21 archive
0.0.20 Jan 24, 2017 Go to the documentation of jaguar_cli 0.0.20 Download jaguar_cli 0.0.20 archive

All 29 versions...

Analysis

We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
100 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]
50
Learn more about scoring.

Platforms

Detected platforms: Flutter, other

Platform components identified in package: io.

Suggestions

  • Fix .analysis_options.

    We were unable to parse .analysis_options.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use jaguar_cli.dart.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 hint.

    Strong-mode analysis of lib/interceptor_creator/interceptor_creator.dart gave the following hint:

    line: 38 col: 39
    'WRITE' is deprecated and shouldn't be used.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

  • Enable strong mode analysis.

    Strong mode helps you to detect bugs and potential issues earlier.Start your analysis_options.yaml file with the following:

    analyzer:
      strong-mode: true
    

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
archive >=1.0.27 <2.0.0 1.0.33 2.0.0
args ^0.13.7 0.13.7 1.4.3
build >=0.9.3 <0.10.0 0.9.3 0.12.6
build_runner >=0.3.4 <0.4.0 0.3.4+1 0.8.10
console ^2.2.3 2.2.4 3.0.0
github >=3.0.0 <4.0.0 3.0.2
http ^0.11.3 0.11.3+16
inflection >=0.4.1 <0.5.0 0.4.1
jaguar_generator >=0.7.2 <0.8.0 0.7.2 1.3.1
jaguar_orm >=0.1.2 <0.2.0 0.1.3 0.2.4
jaguar_serializer >=0.3.6 <0.4.0 0.3.16 2.1.5
jaguar_validate >=0.0.11 <0.1.0 0.0.11 1.0.1
path >=1.4.1 <2.0.0 1.6.1
source_gen ^0.5.10+1 0.5.10+1 0.8.2
yaml >=2.1.10 <3.0.0 2.1.14
Transitive dependencies
analyzer 0.29.11 0.32.1
async 1.13.3 2.0.7
barback 0.15.2+16
build_barback 0.3.0 0.5.0+4
charcode 1.1.1
cli_util 0.0.1+2 0.1.3
code_transformers 0.5.1+3 0.5.1+5
collection 1.14.10
convert 2.0.1
crypto 2.0.5
csslib 0.14.4
dart_style 1.0.4 1.1.0
dice 1.8.0
glob 1.1.5
html 0.13.3+1
http_parser 3.1.2
http_server 0.9.7
intl 0.14.0 0.15.6
isolate 1.1.0 2.0.1
jaguar 0.6.11 2.1.7
jaguar_generator_config 0.0.1
jaguar_query 0.0.25 0.2.8
logging 0.11.3+1
markdown 0.11.4 2.0.0
matcher 0.12.3
meta 1.1.5
mime 0.9.6+1
mustache 0.2.5+1 1.0.1
package_config 1.0.3
petitparser 1.7.6
plugin 0.2.0+2
pool 1.3.5
quiver 0.22.0 0.29.0+1
quiver_hashcode 1.0.0
quiver_iterables 1.0.1
shelf 0.6.8 0.7.3+1
shelf_static 0.2.7+1
source_gen_help 0.0.4
source_maps 0.10.5
source_span 1.4.0
stack_trace 1.9.2
stream_channel 1.6.7+1
stream_transform 0.0.14
string_scanner 1.0.2
swagger 0.0.2
typed_data 1.1.5
utf 0.9.0+4
vector_math 1.4.7 2.0.7
watcher 0.9.7+8
when 0.2.0
which 0.1.3
xml 2.6.0 3.0.0
yamlicious 0.0.5
Dev dependencies
test >=0.12.0 <0.13.0