protected function configure()
{
$availableEllipsoids = Ellipsoid::getAvailableEllipsoidNames();
$this->setName('vertex:final-bearing')->setDescription('Compute the final bearing in degrees between 2 coordinates')->addArgument('origin', InputArgument::REQUIRED, 'The origin "Lat,Long" coordinate')->addArgument('destination', InputArgument::REQUIRED, 'The destination "Lat,Long" coordinate')->addOption('ellipsoid', null, InputOption::VALUE_REQUIRED, 'If set, the name of the ellipsoid to use', Ellipsoid::WGS84)->setHelp(<<<EOT
<info>Available ellipsoids</info>: {$availableEllipsoids}
<info>Example with GRS_1980 ellipsoid</info>:
%command.full_name% "40° 26.7717, -79° 56.93172" "30°16′57″N 029°48′32″W" <comment>--ellipsoid=GRS_1980</comment>
EOT
);
}