Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

readme tweaks #1

Merged
merged 3 commits into from
Feb 3, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# cli_util

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

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)).

## Install

```shell
pub global activate cli_util
```
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][analyzer]).

## Usage

Expand All @@ -19,7 +15,6 @@ import 'package:cli_util/cli_util.dart';
import 'package:path/path.dart' as path;

main(args) {

// Get sdk dir from cli_util
Directory sdkDir = getSdkDir(args);

Expand All @@ -33,4 +28,5 @@ main(args) {

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

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