Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(706)

Side by Side Diff: pkg/analyzer_cli/README.md

Issue 2713723003: Remove and hide analyzer cli flags. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # dartanalyzer 1 # dartanalyzer
2 2
3 Use _dartanalyzer_ to statically analyze your code at the command line, 3 Use _dartanalyzer_ to statically analyze your code at the command line,
4 checking for errors and warnings that are specified in the 4 checking for errors and warnings that are specified in the
5 [Dart Language Specification](https://www.dartlang.org/docs/spec/). 5 [Dart Language Specification](https://www.dartlang.org/docs/spec/).
6 DartPad, code editors, and IDEs such as WebStorm use the same 6 DartPad, code editors, and IDEs such as WebStorm use the same
7 analysis engine that dartanalyzer uses. 7 analysis engine that dartanalyzer uses.
8 8
9 ## Basic usage 9 ## Basic usage
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 * `--dart-sdk=`<br> 56 * `--dart-sdk=`<br>
57 Specify the directory that contains the Dart SDK. 57 Specify the directory that contains the Dart SDK.
58 58
59 * `--fatal-warnings`<br> 59 * `--fatal-warnings`<br>
60 Except for type warnings, treat warnings as fatal. 60 Except for type warnings, treat warnings as fatal.
61 61
62 * `--format=machine`<br> 62 * `--format=machine`<br>
63 Produce output in a format suitable for parsing. 63 Produce output in a format suitable for parsing.
64 64
65 * `--url-mapping=libraryUri,/path/to/library.dart`<br> 65 * `--url-mapping=libraryUri,/path/to/library.dart`<br>
66 Tells the analyzer to use the specified library as the source 66 Tells the analyzer to use the specified library as the source for that
67 for that particular import. 67 particular import.
68 68
69 The following options are deprecated: 69 The following options are deprecated:
70 70
71 * `--package-root=`<br> 71 * `--package-root=`<br>
72 **Deprecated.** Specify the directory to search for any libraries that are 72 **Deprecated.** Specify the directory to search for any libraries that are
73 imported using `package:`. _This option is replaced as of Dart 1.12 with 73 imported using `package:`. _This option is replaced as of Dart 1.12 with
74 `--packages`._ 74 `--packages`._
75
76 * `--show-package-warnings`<br>
77 **Deprecated.** Replaced by `--package-warnings`.
78
79 * `--show-sdk-warnings`<br>
80 **Deprecated.** Replaced by `--warnings`.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698