43 types derived from BaseCommand
aspire (41)
Commands\AddCommand.cs (1)
20internal sealed class AddCommand : BaseCommand
Commands\AgentCommand.cs (1)
17internal sealed class AgentCommand : BaseCommand
Commands\AgentInitCommand.cs (1)
23internal sealed class AgentInitCommand : BaseCommand, IPackageMetaPrefetchingCommand
Commands\AgentMcpCommand.cs (1)
29internal sealed class AgentMcpCommand : BaseCommand
Commands\BaseConfigSubCommand.cs (1)
11internal abstract class BaseConfigSubCommand(string name, string description, IFeatures features, ICliUpdateNotifier updateNotifier, IConfigurationService configurationService, CliExecutionContext executionContext, IInteractionService interactionService, AspireCliTelemetry telemetry) : BaseCommand(name, description, features, updateNotifier, executionContext, interactionService, telemetry)
Commands\CacheCommand.cs (2)
15internal sealed class CacheCommand : BaseCommand 35private sealed class ClearCommand : BaseCommand
Commands\ConfigCommand.cs (1)
19internal sealed class ConfigCommand : BaseCommand
Commands\DescribeCommand.cs (1)
68internal sealed class DescribeCommand : BaseCommand
Commands\DocsCommand.cs (1)
17internal sealed class DocsCommand : BaseCommand
Commands\DocsGetCommand.cs (1)
20internal sealed partial class DocsGetCommand : BaseCommand
Commands\DocsListCommand.cs (1)
21internal sealed class DocsListCommand : BaseCommand
Commands\DocsSearchCommand.cs (1)
21internal sealed class DocsSearchCommand : BaseCommand
Commands\DoctorCommand.cs (1)
16internal sealed class DoctorCommand : BaseCommand
Commands\ExecCommand.cs (1)
20internal class ExecCommand : BaseCommand
Commands\ExtensionInternalCommand.cs (2)
16internal sealed class ExtensionInternalCommand : BaseCommand 29private sealed class GetAppHostCandidatesCommand : BaseCommand
Commands\InitCommand.cs (1)
26internal sealed class InitCommand : BaseCommand, IPackageMetaPrefetchingCommand
Commands\LogsCommand.cs (1)
73internal sealed class LogsCommand : BaseCommand
Commands\McpCommand.cs (1)
17internal sealed class McpCommand : BaseCommand
Commands\McpInitCommand.cs (1)
20internal sealed class McpInitCommand : BaseCommand, IPackageMetaPrefetchingCommand
Commands\McpStartCommand.cs (1)
17internal sealed class McpStartCommand : BaseCommand
Commands\NewCommand.cs (1)
24internal sealed class NewCommand : BaseCommand, IPackageMetaPrefetchingCommand
Commands\PipelineCommandBase.cs (1)
23internal abstract class PipelineCommandBase : BaseCommand
Commands\PsCommand.cs (1)
45internal sealed class PsCommand : BaseCommand
Commands\ResourceCommand.cs (1)
16internal sealed class ResourceCommand : BaseCommand
Commands\ResourceCommandBase.cs (1)
19internal abstract class ResourceCommandBase : BaseCommand
Commands\RunCommand.cs (1)
53internal sealed class RunCommand : BaseCommand
Commands\Sdk\SdkCommand.cs (1)
17internal sealed class SdkCommand : BaseCommand
Commands\Sdk\SdkDumpCommand.cs (1)
28internal sealed class SdkDumpCommand : BaseCommand
Commands\Sdk\SdkGenerateCommand.cs (1)
22internal sealed class SdkGenerateCommand : BaseCommand
Commands\SetupCommand.cs (1)
16internal sealed class SetupCommand : BaseCommand
Commands\StartCommand.cs (1)
17internal sealed class StartCommand : BaseCommand
Commands\StopCommand.cs (1)
19internal sealed class StopCommand : BaseCommand
Commands\TelemetryCommand.cs (1)
17internal sealed class TelemetryCommand : BaseCommand
Commands\TelemetryLogsCommand.cs (1)
25internal sealed class TelemetryLogsCommand : BaseCommand
Commands\TelemetrySpansCommand.cs (1)
25internal sealed class TelemetrySpansCommand : BaseCommand
Commands\TelemetryTracesCommand.cs (1)
24internal sealed class TelemetryTracesCommand : BaseCommand
Commands\TemplateCommand.cs (1)
13internal sealed class TemplateCommand : BaseCommand
Commands\UpdateCommand.cs (1)
21internal sealed class UpdateCommand : BaseCommand
Commands\WaitCommand.cs (1)
16internal sealed class WaitCommand : BaseCommand
Aspire.Cli.Tests (2)
NuGet\NuGetPackagePrefetcherTests.cs (2)
104internal sealed class TestCommand : BaseCommand 116internal sealed class TestCommandWithInterface : BaseCommand, IPackageMetaPrefetchingCommand
10 references to BaseCommand
aspire (6)
Commands\GroupedHelpWriter.cs (6)
11/// Groups are determined by each command's <see cref="BaseCommand.HelpGroup"/> property. 50var grouped = new Dictionary<HelpGroup, List<BaseCommand>>(); 60if (sub is BaseCommand baseCmd && baseCmd.HelpGroup is not HelpGroup.None) 86foreach (var cmd in list) 174private static void WriteGroup(TextWriter writer, string heading, List<BaseCommand> commands, int columnWidth, int width) 177foreach (var cmd in commands)
Aspire.Cli.Tests (4)
Commands\RootCommandTests.cs (1)
391.Where(cmd => cmd is not BaseCommand baseCmd || baseCmd.HelpGroup is HelpGroup.None)
NuGet\NuGetPackagePrefetcherTests.cs (3)
72public static bool TestShouldPrefetchTemplatePackages(BaseCommand? command) 84public static bool TestShouldPrefetchCliPackages(BaseCommand? command) 96private static bool IsRuntimeOnlyCommand(BaseCommand command)