Skip to content

Commit 1513f22

Browse files
authored
Added support for multiple files or directories
1 parent 16c0ee7 commit 1513f22

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/yaml.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,15 @@ Then, execute the script for validating contents:
410410
411411
# validates a single file
412412
$ php lint.php path/to/file.yaml
413+
414+
# validates a multiple files
415+
$ php lint.php path/to/file1.yaml path/to/file2.yaml
413416
414417
# or all the files in a directory
415418
$ php lint.php path/to/directory
419+
420+
# or all the files in multiple directories
421+
$ php lint.php path/to/directory1 path/to/directory2
416422
417423
# or contents passed to STDIN
418424
$ cat path/to/file.yaml | php lint.php

0 commit comments

Comments
 (0)