Esempio n. 1
0
        /// <summary>
        /// Gets every registered <see cref="ICommand"/> implementation and prints their name and short
        /// description to the output
        /// </summary>
        private void PrintCommandList()
        {
            output.Message("The following commands can be used for this suite:");

            foreach (var cmdName in commandEnumerator.AvailableCommands)
            {
                var cmd = commandFactory.CreateCommand(cmdName);
                output.Describe(cmdName, cmd.Description);
            }
        }