axiom 0.1.0 copy "axiom: ^0.1.0" to clipboard
axiom: ^0.1.0 copied to clipboard

A CLI tool that converts JSON into gorgeous, typesafe code in dart

axiom #

coverage style: very good analysis License: MIT

A CLI tool that converts JSON into gorgeous, typesafe code in dart


Getting Started ๐Ÿš€ #

Activate globally via:

dart pub global activate axiom

Or locally via:

dart pub global activate --source=path <path to this package>

Usage #

# Example
$ axiom generate --path {path} --outDir {output path}  --modelName {Your dart class name}

# Show CLI version
$ axiom --version

# Show usage help
$ axiom --help

Running Tests with coverage ๐Ÿงช #

To run all unit tests use the following command:

$ dart pub global activate coverage 1.2.0
$ dart test --coverage=coverage
$ dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info

To view the generated coverage report you can use lcov .

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html

Credits #

Deriv

Author #

Igwaneza Bruce

6
likes
130
pub points
0%
popularity

Publisher

unverified uploader

A CLI tool that converts JSON into gorgeous, typesafe code in dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, dart_style, mason_logger, pub_updater, recase

More

Packages that depend on axiom