You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: example/README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,15 @@
2
2
3
3
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).
4
4
5
-
## Plugin and CLI
5
+
## Preferred way: plugin and CLI
6
6
7
7
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.
8
8
9
-
## As a library
9
+
## Additional way: as a library
10
10
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.
0 commit comments