Closed ezzatron closed 5 years ago
@@ master #200 diff @@
==========================================
Files 21 21
Lines 736 763 +27
Methods 180 184 +4
Messages 0 0
Branches 0 0
==========================================
+ Hits 715 735 +20
- Misses 21 28 +7
Partials 0 0
Powered by Codecov. Last update 25ec1ce...d53b51f
This PR adds support for specifying multiple paths as command line arguments to the
peridot
executable.Summary/justification of changes:
peridot.start
event: "Useful for defining additional CLI arguments and options.", and will need to be updated.InputDefinition::argument()
is gone.getPath()
andsetPath()
.PERIDOT_PATH
environment variable is used for, but I also retained support for it, and added a similarPERIDOT_PATHS
environment variable, which contains all the paths, separated byPATH_SEPARATOR
.spec
,specs
,test
,tests
).peridot.php
config, and less config = more better.peridot.php
like this.peridot-jumpstart
should be updated to remove this line, since there will be default paths out of the box.peridot --help
.Symfony's built-in CLI options seem to be bugged, despite appearing inEDIT: Fixed.--help
output. I'm not sure if this is an existing problem or something I've introduced.