Exemplo n.º 1
0
        public static Command GetCommand()
        {
            var command = new Command("sdk", LocalizableStrings.AppFullName);

            command.AddCommand(SdkCheckCommandParser.GetCommand());

            return(command);
        }
Exemplo n.º 2
0
        private static Command ConstructCommand()
        {
            var command = new DocumentedCommand("sdk", DocsLink, LocalizableStrings.AppFullName);

            command.AddCommand(SdkCheckCommandParser.GetCommand());

            command.SetHandler((parseResult) => parseResult.HandleMissingCommand());

            return(command);
        }