Skip to content

Commit 33a5768

Browse files
committed
Merge pull request dart-archive/cli_util#1 from dart-lang/devoncarew_readme
readme tweaks
2 parents dec7d29 + d6448b0 commit 33a5768

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

pkgs/cli_util/README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# cli_util
22

3-
Utilities to help in building Dart command-line apps.
3+
A utility to help in building Dart command-line apps.
44

5-
In particular, ``cli_util`` provides a simple, standardized way to get the current SDK directory. Useful, especially, when building client applications that interact with the Dart SDK (such as the [analyzer](https://pub.dartlang.org/packages/analyzer)).
6-
7-
## Install
8-
9-
```shell
10-
pub global activate cli_util
11-
```
5+
In particular, `cli_util` provides a simple, standardized way to get the current
6+
SDK directory. Useful, especially, when building client applications that
7+
interact with the Dart SDK (such as the [analyzer][analyzer]).
128

139
## Usage
1410

@@ -19,7 +15,6 @@ import 'package:cli_util/cli_util.dart';
1915
import 'package:path/path.dart' as path;
2016
2117
main(args) {
22-
2318
// Get sdk dir from cli_util
2419
Directory sdkDir = getSdkDir(args);
2520
@@ -33,4 +28,5 @@ main(args) {
3328

3429
Please file feature requests and bugs at the [issue tracker][tracker].
3530

31+
[analyzer]: https://pub.dartlang.org/packages/analyzer
3632
[tracker]: https://github.com/dart-lang/cli_util/issues

0 commit comments

Comments
 (0)