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

A Command-Line Interface to replace the version in pubspec.yaml

Pubspec_version #

Pub Version Pub Points License: MIT

A Command-Line Interface to change the version in pubspec.


Getting Started ๐Ÿš€ #

If the CLI application is available on pub, activate globally via:

dart pub global activate pubspec_version_cli

Usage #

# Change the version in pubspec
pubspec_version change --version <version>

Running locally #

dart pub global activate --source=path . && pubspec_version change example --version 0.0.1+1

Running Tests with coverage ๐Ÿงช #

To run all unit tests use the following command:

dart pub global activate coverage
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

Build version #

dart run build_runner build -d

Generated by the Very Good CLI ๐Ÿค–

1
likes
130
pub points
6%
popularity

Publisher

verified publisherlsaudon.fr

A Command-Line Interface to replace the version in pubspec.yaml

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

args, cli_completion, file, mason_logger, path, pub_updater, yaml

More

Packages that depend on pubspec_version_cli