riverpod_cli 0.0.2+1 copy "riverpod_cli: ^0.0.2+1" to clipboard
riverpod_cli: ^0.0.2+1 copied to clipboard

discontinued
outdated

A command line tool for Riverpod

Build Status codecov Star on Github License: MIT Discord Buy Me A Coffee

Riverpod


A command line for Riverpod, to help upgrade to newer versions of Riverpod.

Installation #

To install the migration tool, do:

dart pub global activate riverpod_cli

Usage #

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 pubspec.yaml .
  • Make sure that your code has no analysis errors otherwise the migration will have trouble running.
  • run:
    riverpod migrate
    

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.

12
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A command line tool for Riverpod

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

analyzer, args, codemod, glob, path, pub_semver, pubspec_parse

More

Packages that depend on riverpod_cli