X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fpharext%2FCommand.php;h=61b8810adcffd5bb2c65dd116a493743d7e81538;hb=a3858b4c4a9efd4d360e20a268e073e50b034e8a;hp=f7b0c74c0f417b2dcdb6f43578c77d7acc65944c;hpb=0ff7b26bce8f0dfbd1d4d45313705a94f2ac5e28;p=pharext%2Fpharext diff --git a/src/pharext/Command.php b/src/pharext/Command.php index f7b0c74..61b8810 100644 --- a/src/pharext/Command.php +++ b/src/pharext/Command.php @@ -13,6 +13,13 @@ interface Command */ public function getArgs(); + /** + * Print debug message + * @param string $fmt + * @param string ...$args + */ + public function debug($fmt); + /** * Print info * @param string $fmt @@ -20,13 +27,20 @@ interface Command */ public function info($fmt); + /** + * Print warning + * @param string $fmt + * @param string ...$args + */ + public function warn($fmt); + /** * Print error * @param string $fmt * @param string ...$args */ public function error($fmt); - + /** * Execute the command * @param int $argc command line argument count