Rareloop / hatchet

Lumberjack CLI
MIT License
10 stars 2 forks source link

Add make:posttype to commands #2

Closed WolfieZero closed 3 months ago

WolfieZero commented 6 years ago

If you run php hatchet make:posttype Client it will generate the a class file for the Client post type.

Possible additions to this could be to append the register array in config/posttypes.php. Plus, should add some tests.

This also adds doctrine/inflector to the composer file for naming.

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 10


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Commands/PostTypeMake.php 0 8 0.0%
<!-- Total: 0 8 0.0% -->
Totals Coverage Status
Change from base Build 9: -8.02%
Covered Lines: 81
Relevant Lines: 94

💛 - Coveralls
joelambert commented 6 years ago

Thanks for adding this, can you make a couple of tweaks before we merge it in please: