protected override void InnerExecute(string[] arguments)
{
var hostnames = _appharborClient.GetHostnames(ApplicationId);
if (!hostnames.Any())
{
_writer.WriteLine("No hostnames are associated with the application.");
}
foreach (var hostname in hostnames)
{
var output = hostname.Value;
output += hostname.Canonical ? " (canonical)" : "";
_writer.WriteLine(output);
}
}