-
Notifications
You must be signed in to change notification settings - Fork 241
Expand file tree
/
Copy pathpub upgrade --help.txt
More file actions
26 lines (20 loc) · 1.23 KB
/
pub upgrade --help.txt
File metadata and controls
26 lines (20 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# GENERATED BY: test/help_test.dart
## Section 0
$ pub upgrade --help
Upgrade the current package's dependencies to latest versions.
Append `:latest` to a dependency to require the latest available version.
Append `:resolvable` to require the newest version resolvable with the rest of
the dependency graph.
Usage: pub upgrade [dependencies[:latest|:resolvable]...]
-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.
--tighten Updates lower bounds in pubspec.yaml to match the resolved version.
--unlock-transitive Also upgrades the transitive dependencies of the listed [dependencies]
--major-versions Upgrades packages to their latest resolvable versions, and updates pubspec.yaml.
--[no-]example Also run in `example/` (if it exists).
(defaults to on)
-C, --directory=<dir> Run this in the directory <dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-upgrade for detailed documentation.