public void WriteUsage(string invokedWith, TextWriter writer)
{
var commandHelpAttribute = this.GetType().GetCustomAttributes(true).OfType<CommandHelpAttribute>().Single();
writer.WriteLine("Command description: {0}", commandHelpAttribute.Description);
writer.WriteLine();
writer.WriteLine("Expected usage: appharbor {0} {1} [OPTIONS]",
invokedWith,
commandHelpAttribute.Options);
writer.WriteLine("Available options:");
OptionSet.WriteOptionDescriptions(writer);
}