Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1513f22

Browse files
authored
Added support for multiple files or directories
1 parent16c0ee7 commit1513f22

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)

[8]ページ先頭

©2009-2025 Movatter.jp