OSDN Git Service

pass subcommand implementations as callbacks
authorscribu <mail@scribu.net>
Thu, 26 Sep 2013 23:17:47 +0000 (02:17 +0300)
committerscribu <mail@scribu.net>
Thu, 26 Sep 2013 23:17:50 +0000 (02:17 +0300)
commitf6285d3b674e01fff81e37a2978a1436e1f94e69
treea55666d04d429ed629a35acc32f6915107ff9ffe
parentbbaa1397d8ff960d470b85db605da2e7d3025299
pass subcommand implementations as callbacks

This allows child classes to implement only some of the subcommands.
php/WP_CLI/CommandWithDBObject.php
php/commands/comment.php
php/commands/post.php
php/commands/user.php