Esempio n. 1
0
		private List<string> GetItems(CommandLineApplication AppCommand, CommandArgument name)
		{
			List<string> items = new List<string>();
			items.Add(name.Value);
			items.AddRange(AppCommand.RemainingArguments);
			return items;
		}
 public CommandArgument Argument(string name, string description, Action<CommandArgument> configuration)
 {
     var argument = new CommandArgument { Name = name, Description = description };
     Arguments.Add(argument);
     configuration(argument);
     return argument;
 }