class Command_Note extends Command_AbstractProps
{
- /**
- * @var Config
- */
- protected $cfg;
-
- public function __construct($cfg)
- {
- $this->cfg = $cfg;
- }
-
public static function opts(\Console_CommandLine $optParser)
{
$cmd = $optParser->addCommand('note');
$res = $req->send();
$postUrl = $res->getHeader('Location');
- echo "Post created at server\n";
- echo $postUrl . "\n";
+ Log::info('Post created at server');
+ Log::msg($postUrl);
}
}
?>