/// <summary> /// Display the complete commands in GitSharp. /// </summary> private static void ShowComplete() { CommandCatalog catalog = new CommandCatalog(); foreach (CommandRef c in catalog.Complete()) { Console.Write(" "); Console.Write(c.getName()); for (int i = c.getName().Length + 8; i < 31; i++) { Console.Write(" "); } Console.Write(c.getUsage()); Console.WriteLine(); } }
/// <summary> /// Display the complete commands in GitSharp. /// </summary> private static void ShowComplete() { CommandCatalog catalog = new CommandCatalog(); foreach (CommandRef c in catalog.Complete()) { Console.Write(" "); Console.Write(c.getName()); for (int i = c.getName().Length + 8; i < 31; i++) Console.Write(" "); Console.Write(c.getUsage()); Console.WriteLine(); } }