-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add experimental non opinionated command line linker to
bin/yay
:
YAY! Usage: yay yay <file> yay --macros=<macros> yay --macros=<macros> <file> yay -h | --help yay --version Options: -h --help Show this screen. --version Show version. --macros=<macros> PHP glob pattern for macros to be loaded. Ex: my/macros/*.yay [default: ''] Examples: ``` # Process file: yay input.php > output.php # Process file, preload project macros: > yay --macros="./project-macros/*.yay" input.php > output.php # Process stdin: > cat input.php | yay > output.php # Process stdin, preload project macros: > cat input.php | yay --macros="./project-macros/*.yay" > output.php ```
- Loading branch information
1 parent
975d96a
commit 36e8191
Showing
3 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php return [ | ||
'version' => '0.7' | ||
]; |