-
-
Notifications
You must be signed in to change notification settings - Fork 0
Command line usage
Greg Bowler edited this page Jul 19, 2023
·
1 revision
This library exposes the sync functionality as a Command Line utility, using PHP.Gt/Cli.
When you require this library using Composer, the command link utility will be placed in your project's vendor/bin directory. Run the command in the terminal by executing vendor/bin/sync.
Usage: sync source destination [--pattern|-p PATTERN] [--symlink|-l] [--silent|-s] [--delete|-d]
The following command line flags options are available:
-
--pattern/-p -
--symlink/-l -
--silent/-s -
--delete/-d
An example usage to sync all SVG files within asset/icon to www/static/asset/icon:
vendor/bin/sync asset/icon www/static/asset/icon --pattern "**/*.svg"PHP.Gt/Dom is a separately maintained component of PHP.Gt/WebEngine.