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

Command-Line Interface to change the version in pubspec

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate pubspec_version_cli

Use it

The package has the following executables:

$ pubspec_version

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pubspec_version_cli

With Flutter:

 $ flutter pub add pubspec_version_cli

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  pubspec_version_cli: ^0.0.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:pubspec_version_cli/pubspec_version_cli.dart';
2
likes
150
points
45
downloads

Publisher

verified publisherlsaudon.fr

Weekly Downloads

Command-Line Interface to change the version in pubspec

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