blob: 2032abfa18d075cd192329a7eb7e6fa0a1d9be99 [file] [log] [blame]
# GENERATED BY: test/help_test.dart
## Section 0
$ pub remove --help
Removes dependencies from `pubspec.yaml`.
Invoking `dart pub remove foo bar` will remove `foo` and `bar` from either
`dependencies` or `dev_dependencies` in `pubspec.yaml`.
To remove a dependency override of a package prefix the package name with
'override:'.
Usage: pub remove <package1> [<package2>...]
-h, --help Print this usage information.
--[no-]offline Use cached packages instead of accessing the network.
-n, --dry-run Report what dependencies would change but don't change any.
--[no-]precompile Precompile executables in immediate dependencies.
-C, --directory=<dir> Run this in the directory <dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-remove for detailed documentation.