16 types derived from BaseCommand
aspire (14)
Commands\AddCommand.cs (1)
19internal sealed class AddCommand : BaseCommand
Commands\BaseConfigSubCommand.cs (1)
10internal abstract class BaseConfigSubCommand(string name, string description, IFeatures features, ICliUpdateNotifier updateNotifier, IConfigurationService configurationService, CliExecutionContext executionContext, IInteractionService interactionService) : BaseCommand(name, description, features, updateNotifier, executionContext, interactionService)
Commands\CacheCommand.cs (2)
14internal sealed class CacheCommand : BaseCommand 34private sealed class ClearCommand : BaseCommand
Commands\ConfigCommand.cs (1)
18internal sealed class ConfigCommand : BaseCommand
Commands\ExecCommand.cs (1)
20internal class ExecCommand : BaseCommand
Commands\ExtensionInternalCommand.cs (2)
15internal sealed class ExtensionInternalCommand : BaseCommand 31private sealed class GetAppHostCandidatesCommand : BaseCommand
Commands\InitCommand.cs (1)
23internal sealed class InitCommand : BaseCommand, IPackageMetaPrefetchingCommand
Commands\NewCommand.cs (1)
21internal sealed class NewCommand : BaseCommand, IPackageMetaPrefetchingCommand
Commands\PipelineCommandBase.cs (1)
20internal abstract class PipelineCommandBase : BaseCommand
Commands\RunCommand.cs (1)
23internal sealed class RunCommand : BaseCommand
Commands\TemplateCommand.cs (1)
12internal sealed class TemplateCommand : BaseCommand
Commands\UpdateCommand.cs (1)
20internal sealed class UpdateCommand : BaseCommand
Aspire.Cli.Tests (2)
NuGet\NuGetPackagePrefetcherTests.cs (2)
104internal sealed class TestCommand : BaseCommand 116internal sealed class TestCommandWithInterface : BaseCommand, IPackageMetaPrefetchingCommand
12 references to BaseCommand
aspire (9)
CliExecutionContext.cs (3)
16private BaseCommand? _command; 21public BaseCommand? Command 37public TaskCompletionSource<BaseCommand> CommandSelected { get; } = new();
NuGet\NuGetPackagePrefetcher.cs (6)
19var command = await WaitForCommandSelectionAsync(stoppingToken); 82private async Task<BaseCommand?> WaitForCommandSelectionAsync(CancellationToken cancellationToken) 91var command = await executionContext.CommandSelected.Task.WaitAsync(combined.Token); 101private static bool ShouldPrefetchTemplatePackages(BaseCommand? command) 114private static bool ShouldPrefetchCliPackages(BaseCommand? command) 126private static bool IsRuntimeOnlyCommand(BaseCommand command)
Aspire.Cli.Tests (3)
NuGet\NuGetPackagePrefetcherTests.cs (3)
72public static bool TestShouldPrefetchTemplatePackages(BaseCommand? command) 84public static bool TestShouldPrefetchCliPackages(BaseCommand? command) 96private static bool IsRuntimeOnlyCommand(BaseCommand command)