예제 #1
0
        private async ValueTask <int> HandleCommandExecutionAsync(
            ApplicationSchema applicationSchema,
            CommandLineInput commandLineInput,
            IReadOnlyDictionary <string, string> environmentVariables)
        {
            await applicationSchema
            .InitializeEntryPoint(commandLineInput, environmentVariables, _typeActivator)
            .ExecuteAsync(_console);

            return(0);
        }