0 purchases
cli notify
cli_notify #
Check pub.dev for updates for your Dart CLI and prints update information.
Install #
dart pub add cli_notify
copied to clipboard
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();
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.