diff --git a/SpeechCLI/Commands/SpeechCommandBase.cs b/SpeechCLI/Commands/SpeechCommandBase.cs index 9324172..2fc4b8b 100644 --- a/SpeechCLI/Commands/SpeechCommandBase.cs +++ b/SpeechCLI/Commands/SpeechCommandBase.cs @@ -1,6 +1,7 @@ using CRIS; using CRIS.Models; using McMaster.Extensions.CommandLineUtils; +using SpeechCLI.Interfaces; using SpeechCLI.Utils; using System; using System.Collections.Generic; @@ -18,9 +19,9 @@ abstract class SpeechCommandBase protected static ISpeechServicesAPIv20 _speechApi; protected static IConsole _console; - protected static Config _config; + protected static IConfig _config; - public SpeechCommandBase(ISpeechServicesAPIv20 speechApi, IConsole console, Config config) + public SpeechCommandBase(ISpeechServicesAPIv20 speechApi, IConsole console, IConfig config) { _speechApi = speechApi; _console = console; diff --git a/SpeechCLI/Commands/TranscriptCommand.cs b/SpeechCLI/Commands/TranscriptCommand.cs index 2fe0837..1ecd1e9 100644 --- a/SpeechCLI/Commands/TranscriptCommand.cs +++ b/SpeechCLI/Commands/TranscriptCommand.cs @@ -28,7 +28,7 @@ namespace SpeechCLI.Commands [Subcommand("single", typeof(Single))] class TranscriptCommand : SpeechCommandBase { - public TranscriptCommand(ISpeechServicesAPIv20 speechApi, IConsole console, Config config) : base(speechApi, console, config) { } + public TranscriptCommand(ISpeechServicesAPIv20 speechApi, IConsole console, IConfig config) : base(speechApi, console, config) { } [Command(Description = "Start new batch transcription.")] class Create : ParamActionCommandBase diff --git a/SpeechCLI/MainApp.cs b/SpeechCLI/MainApp.cs index d1b2bff..21f489a 100644 --- a/SpeechCLI/MainApp.cs +++ b/SpeechCLI/MainApp.cs @@ -19,6 +19,4 @@ int OnExecute(CommandLineApplication app, IConsole console) return 0; } } - - }