Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Generator Template: Accept Properties #818
My company and I are currently implementing this doctrine migrations library and have set it up such that we can pass a custom option to our custom generate command to use different default and content based off of the parameter given. However along these same lines we've found the need to pass in along default properties to the generated migration version.
This could be worked around (at my work I can just write my own Generator.php file that my custom generator command uses for now to but I thought this would be fairly simple to implement and could be beneficial for anybody else looking to use their own customizable templates.