riverpod_cli: ^0.0.2+2 copied to clipboard
A command line tool for Riverpod
A command line for Riverpod, to help upgrade to newer versions of Riverpod.
To install the migration tool, do:
dart pub global activate riverpod_cli
To easily upgrade your Riverpod version:
- open in a terminal the project you want to migrate.
You should be located in the same folder than the project's
- Make sure that your code has no analysis errors otherwise the migration will have trouble running.
One example would be:
- import 'package:riverpod/all.dart'; + import 'package:riverpod/riverpod.dart';
You can then press
y to accept the change or
n to reject it.