dart_apitool 0.2.0 copy "dart_apitool: ^0.2.0" to clipboard
dart_apitool: ^0.2.0 copied to clipboard

retracted

A tool for Dart APIs. It allows to create a model of the public API of a given package as well as comparing two different models and provide the needed version jump.

example/example.md

Examples for dart-apitool #

Installation #

dart pub global activate dart_apitool

Examples #

Check pub version against current source ignoring the pre-release tag #

The current source contains a pre-release tag that gets ignored in this check (the current version gets treated as if it wouldn't have the pre-release part). This is done in CI to check the state of the current version once it will be officially released

dart-apitool diff --old pub://dart_apitool/0.1.2 --new . --ignore-prerelease on

Extract public API and use it (later) to check #

extract

dart-apitool extract --input . --output publicApi.json

check

dart-apitool diff --old publicApi.json --new . --ignore-prerelease on

Compare two copies #

dart-apitool diff --old [path to old version] --new . --ignore-prerelease on
8
likes
0
pub points
8%
popularity

Publisher

verified publisherbmwtech.dev

A tool for Dart APIs. It allows to create a model of the public API of a given package as well as comparing two different models and provide the needed version jump.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

analyzer, args, colorize, freezed_annotation, json_annotation, path, pub_semver, pubspec_parse, stack, tuple

More

Packages that depend on dart_apitool