Пример #1
0
        public static void Main(string[] args)
        {
            var rootCommand                 = new RootCommand("voicekit");
            var recognitionCommand          = CommandLineInterface.CreateRecognitionCommand();
            var streamingRecognitionCommand = CommandLineInterface.CreateStreamingRecognitionCommand();
            var streamingSynthesisCommand   = CommandLineInterface.CreateStreamingSynthesisCommand();

            rootCommand.AddCommand(recognitionCommand);
            rootCommand.AddCommand(streamingRecognitionCommand);
            rootCommand.AddCommand(streamingSynthesisCommand);

            rootCommand.Invoke(args);
        }