Skip to content

Commit 3239441

Browse files
authored
command format
1 parent ecfc298 commit 3239441

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,23 +143,31 @@ Use PlnatUML to convert the PlantUML script to an image.
143143
You can specify the string to be output to the PlantUML header.
144144
145145
```bash
146-
$ vendor/bin/php-class-diagram --header='title "This is the class diagram"' test/fixtures/no-namespace
146+
$ vendor/bin/php-class-diagram \
147+
--header='title "This is the class diagram"' \
148+
path/to/src
147149
```
148150
149151
#### option `include`
150152
151153
You can add patterns to find target files to process.
152154
153155
```bash
154-
$ vendor/bin/php-class-diagram --include='*.php' --include='*.php4' test/fixtures/no-namespace
156+
$ vendor/bin/php-class-diagram \
157+
--include='*.php' \
158+
--include='*.php4' \
159+
path/to/src
155160
```
156161
157162
#### option `exclude`
158163
159164
You can specify patterns to exclude files from being processed.
160165
161166
```bash
162-
$ vendor/bin/php-class-diagram --exclude='test' --include='*Exception.php' test/fixtures/no-namespace
167+
$ vendor/bin/php-class-diagram \
168+
--exclude='test' \
169+
--include='*Exception.php' \
170+
path/to/src
163171
```
164172
165173
### Package Diagram

0 commit comments

Comments
 (0)