cli_notify 0.0.4 copy "cli_notify: ^0.0.4" to clipboard
cli_notify: ^0.0.4 copied to clipboard

Check pub.dev for updates for your Dart CLI and prints update information.

cli_notify #

Check pub.dev for updates for your Dart CLI and prints update information.

Update notification

Install #

dart pub add cli_notify

Usage #

Notify users that there is an update

import 'package:cli_notify/cli_notify.dart';

// Current version of your CLI
final packageName = 'package-name';
final currentVersion = '1.0.0';
void main() async {
  await Notify(
    packageName: packageName,
    currentVersion: currentVersion,
  ).update();
}

9
likes
150
points
9.44k
downloads

Publisher

verified publisherleoafarias.com

Weekly Downloads

Check pub.dev for updates for your Dart CLI and prints update information.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

tint

More

Packages that depend on cli_notify