Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 860d0ce

Browse files
committed
docs: update example
1 parent b822357 commit 860d0ce

File tree

2 files changed

+5
-50
lines changed

2 files changed

+5
-50
lines changed

example/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
DCM is a static analysis tool and code from it is not expected to be used directly. Instead, it should be added as a dev dependency and installed [as described here](https://dcm.dev/docs/individuals/getting-started).
44

5-
## Plugin and CLI
5+
## Preferred way: plugin and CLI
66

77
To use DCM as a plugin or a CLI, check out [this repository](https://github.com/dart-code-checker/dart-code-metrics-example) with the example Flutter app. It covers DCM setup and shows all commands output.
88

9-
## As a library
9+
## Additional way: as a library
1010

11-
DCM can be used as a library, imported and called directly from your code. Continue with [this example](https://github.com/dart-code-checker/dart-code-metrics/blob/master/example/lib/main.dart) in order to get more details.
11+
**Note:** usually you don't need to use DCM directly.
12+
13+
DCM can be used directly as a library, imported and called from your code. Continue with [this example](https://github.com/dart-code-checker/dart-code-metrics-example/blob/main/lib_example/lib/main.dart) in order to get more details.
1214

1315
## Presets
1416

example/lib/main.dart

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)