From 4fed31679fcbc9268c7e907a841558a41d80c567 Mon Sep 17 00:00:00 2001
From: Tom Longhurst <30480171+thomhurst@users.noreply.github.com>
Date: Wed, 16 Apr 2025 21:46:14 +0100
Subject: [PATCH 01/45] +semver:minor - Virtual Methods & Properties (#1044)
* Add analyzer
* dotnet format
* Virtual properties
* Method analyzer
* Method analyzer
* Update code fix logic
* Tweak analyzer logic
* Add virtual keyword to methods
* TargetFrameworks
---
Directory.Build.props | 4 +
Directory.Packages.props | 3 +
ModularPipelines.sln | 9 +
.../Attributes/SkipIfDependencyPullRequest.cs | 4 +-
src/ModularPipelines.Build/GitHelpers.cs | 2 +-
.../Modules/CodeFormattedNicelyModule.cs | 2 +-
.../Modules/CreateReleaseModule.cs | 4 +-
.../Modules/DependabotCommitsModule.cs | 6 +-
.../Modules/FindProjectsModule.cs | 5 +
.../Modules/NugetVersionGeneratorModule.cs | 4 +-
.../PrintEnvironmentVariablesModule.cs | 4 +-
.../Modules/PrintGitInformationModule.cs | 4 +-
.../WaitForOtherOperatingSystemBuilds.cs | 2 +-
src/ModularPipelines.Build/Program.cs | 4 +-
src/ModularPipelines.Chocolatey/Choco.cs | 92 +++----
.../Options/ApikeyOptions.cs | 4 +-
.../Options/CacheOptions.cs | 2 +-
.../Options/CacheRemoveOptions.cs | 2 +-
.../Options/ChocoOptions.cs | 50 ++--
.../Options/ConfigGetOptions.cs | 4 +-
.../Options/ConfigOptions.cs | 4 +-
.../Options/ConfigSetOptions.cs | 4 +-
.../Options/ConfigUnsetOptions.cs | 4 +-
.../Options/ConvertOptions.cs | 8 +-
.../Options/DownloadOptions.cs | 46 ++--
.../Options/ExportOptions.cs | 4 +-
.../Options/FeatureDisableOptions.cs | 2 +-
.../Options/FeatureEnableOptions.cs | 2 +-
.../Options/FeatureOptions.cs | 2 +-
.../Options/FindOptions.cs | 48 ++--
.../Options/InfoOptions.cs | 20 +-
.../Options/InstallOptions.cs | 96 +++----
.../Options/ListOptions.cs | 30 +--
.../Options/NewOptions.cs | 34 +--
.../Options/OptimizeOptions.cs | 6 +-
.../Options/OutdatedOptions.cs | 20 +-
.../Options/PinAddOptions.cs | 8 +-
.../Options/PinOptions.cs | 8 +-
.../Options/PinRemoveOptions.cs | 8 +-
.../Options/PushOptions.cs | 14 +-
.../Options/SearchOptions.cs | 48 ++--
.../Options/SetapikeyOptions.cs | 4 +-
.../Options/SourceAddOptions.cs | 20 +-
.../Options/SourceDisableOptions.cs | 20 +-
.../Options/SourceEnableOptions.cs | 20 +-
.../Options/SourceOptions.cs | 20 +-
.../Options/SourceRemoveOptions.cs | 20 +-
.../Options/SourcesAddOptions.cs | 20 +-
.../Options/SourcesDisableOptions.cs | 20 +-
.../Options/SourcesEnableOptions.cs | 20 +-
.../Options/SourcesOptions.cs | 20 +-
.../Options/SourcesRemoveOptions.cs | 20 +-
.../Options/SyncOptions.cs | 8 +-
.../Options/TemplateInfoOptions.cs | 2 +-
.../Options/TemplateOptions.cs | 2 +-
.../Options/UpgradeOptions.cs | 116 ++++-----
src/ModularPipelines.Cmd/Cmd.cs | 2 +-
.../Models/CmdScriptOptions.cs | 10 +-
.../AnalyzerReleases.Shipped.md | 8 +
.../AnalyzerReleases.Unshipped.md | 4 +
...ularPipelines.Development.Analyzers.csproj | 37 +++
.../Properties/launchSettings.json | 9 +
.../Readme.md | 158 ++++++++++++
.../Resources.Designer.cs | 134 ++++++++++
.../Resources.resx | 45 ++++
.../VirtualCommandAnalyzer.cs | 83 ++++++
.../VirtualCommandCodeFixProvider.cs | 87 +++++++
.../VirtualSwitchPropertyAnalyzer.cs | 68 +++++
.../VirtualSwitchPropertyCodeFixProvider.cs | 79 ++++++
.../Options/DockerBuilderPruneOptions.cs | 8 +-
.../Options/DockerBuildxBakeOptions.cs | 22 +-
.../Options/DockerBuildxBuildOptions.cs | 96 +++----
.../Options/DockerBuildxCreateOptions.cs | 22 +-
.../Options/DockerBuildxDebugBuildOptions.cs | 96 +++----
.../Options/DockerBuildxDebugOptions.cs | 12 +-
.../Options/DockerBuildxDuOptions.cs | 4 +-
.../DockerBuildxImagetoolsCreateOptions.cs | 12 +-
.../DockerBuildxImagetoolsInspectOptions.cs | 4 +-
.../Options/DockerBuildxInspectOptions.cs | 2 +-
.../Options/DockerBuildxLsOptions.cs | 4 +-
.../Options/DockerBuildxOptions.cs | 2 +-
.../Options/DockerBuildxPruneOptions.cs | 10 +-
.../Options/DockerBuildxRmOptions.cs | 8 +-
.../Options/DockerBuildxUseOptions.cs | 4 +-
.../Options/DockerBuildxVersionOptions.cs | 2 +-
.../Options/DockerCheckpointCreateOptions.cs | 4 +-
.../Options/DockerCheckpointLsOptions.cs | 2 +-
.../Options/DockerCheckpointRmOptions.cs | 2 +-
.../DockerComposeAlphaPublishOptions.cs | 4 +-
.../Options/DockerComposeAlphaScaleOptions.cs | 2 +-
.../Options/DockerComposeAlphaVizOptions.cs | 10 +-
.../Options/DockerComposeBuildOptions.cs | 28 +-
.../Options/DockerComposeConfigOptions.cs | 26 +-
.../Options/DockerComposeCpOptions.cs | 8 +-
.../Options/DockerComposeCreateOptions.cs | 14 +-
.../Options/DockerComposeDownOptions.cs | 8 +-
.../Options/DockerComposeEventsOptions.cs | 2 +-
.../Options/DockerComposeExecOptions.cs | 18 +-
.../Options/DockerComposeImagesOptions.cs | 4 +-
.../Options/DockerComposeKillOptions.cs | 4 +-
.../Options/DockerComposeLogsOptions.cs | 16 +-
.../Options/DockerComposeLsOptions.cs | 8 +-
.../Options/DockerComposeOptions.cs | 28 +-
.../Options/DockerComposePortOptions.cs | 4 +-
.../Options/DockerComposePsOptions.cs | 16 +-
.../Options/DockerComposePullOptions.cs | 14 +-
.../Options/DockerComposePushOptions.cs | 6 +-
.../Options/DockerComposeRestartOptions.cs | 4 +-
.../Options/DockerComposeRmOptions.cs | 8 +-
.../Options/DockerComposeRunOptions.cs | 42 +--
.../Options/DockerComposeStopOptions.cs | 2 +-
.../Options/DockerComposeUpOptions.cs | 48 ++--
.../Options/DockerComposeVersionOptions.cs | 4 +-
.../Options/DockerComposeWaitOptions.cs | 2 +-
.../Options/DockerComposeWatchOptions.cs | 4 +-
.../Options/DockerConfigCreateOptions.cs | 4 +-
.../Options/DockerConfigInspectOptions.cs | 4 +-
.../Options/DockerConfigLsOptions.cs | 6 +-
.../Options/DockerContainerAttachOptions.cs | 6 +-
.../Options/DockerContainerCommitOptions.cs | 8 +-
.../Options/DockerContainerCpOptions.cs | 6 +-
.../Options/DockerContainerCreateOptions.cs | 204 +++++++--------
.../Options/DockerContainerExecOptions.cs | 18 +-
.../Options/DockerContainerExportOptions.cs | 2 +-
.../Options/DockerContainerInspectOptions.cs | 4 +-
.../Options/DockerContainerKillOptions.cs | 2 +-
.../Options/DockerContainerLogsOptions.cs | 12 +-
.../Options/DockerContainerLsOptions.cs | 16 +-
.../Options/DockerContainerPruneOptions.cs | 4 +-
.../Options/DockerContainerRestartOptions.cs | 4 +-
.../Options/DockerContainerRmOptions.cs | 6 +-
.../Options/DockerContainerRunOptions.cs | 210 +++++++--------
.../Options/DockerContainerStartOptions.cs | 10 +-
.../Options/DockerContainerStatsOptions.cs | 8 +-
.../Options/DockerContainerStopOptions.cs | 4 +-
.../Options/DockerContainerUpdateOptions.cs | 30 +--
.../Options/DockerContextCreateOptions.cs | 6 +-
.../Options/DockerContextInspectOptions.cs | 2 +-
.../Options/DockerContextLsOptions.cs | 4 +-
.../Options/DockerContextRmOptions.cs | 2 +-
.../Options/DockerContextUpdateOptions.cs | 4 +-
.../Options/DockerImageBuildOptions.cs | 60 ++---
.../Options/DockerImageHistoryOptions.cs | 8 +-
.../Options/DockerImageImportOptions.cs | 6 +-
.../Options/DockerImageInspectOptions.cs | 2 +-
.../Options/DockerImageLoadOptions.cs | 4 +-
.../Options/DockerImageLsOptions.cs | 12 +-
.../Options/DockerImagePruneOptions.cs | 6 +-
.../Options/DockerImagePullOptions.cs | 8 +-
.../Options/DockerImagePushOptions.cs | 6 +-
.../Options/DockerImageRmOptions.cs | 4 +-
.../Options/DockerImageSaveOptions.cs | 2 +-
.../Options/DockerInitOptions.cs | 2 +-
.../Options/DockerInspectOptions.cs | 6 +-
.../Options/DockerLoginOptions.cs | 6 +-
.../Options/DockerManifestAnnotateOptions.cs | 10 +-
.../Options/DockerManifestCreateOptions.cs | 4 +-
.../Options/DockerManifestInspectOptions.cs | 4 +-
.../Options/DockerManifestPushOptions.cs | 4 +-
.../Options/DockerNetworkConnectOptions.cs | 12 +-
.../Options/DockerNetworkCreateOptions.cs | 32 +--
.../Options/DockerNetworkDisconnectOptions.cs | 2 +-
.../Options/DockerNetworkInspectOptions.cs | 4 +-
.../Options/DockerNetworkLsOptions.cs | 8 +-
.../Options/DockerNetworkPruneOptions.cs | 4 +-
.../Options/DockerNetworkRmOptions.cs | 2 +-
.../Options/DockerNodeInspectOptions.cs | 4 +-
.../Options/DockerNodeLsOptions.cs | 6 +-
.../Options/DockerNodePsOptions.cs | 10 +-
.../Options/DockerNodeRmOptions.cs | 2 +-
.../Options/DockerNodeUpdateOptions.cs | 8 +-
.../Options/DockerOptions.cs | 22 +-
.../Options/DockerPluginCreateOptions.cs | 2 +-
.../Options/DockerPluginDisableOptions.cs | 2 +-
.../Options/DockerPluginEnableOptions.cs | 2 +-
.../Options/DockerPluginInspectOptions.cs | 2 +-
.../Options/DockerPluginInstallOptions.cs | 8 +-
.../Options/DockerPluginLsOptions.cs | 8 +-
.../Options/DockerPluginRmOptions.cs | 2 +-
.../Options/DockerPluginUpgradeOptions.cs | 6 +-
.../Options/DockerScoutCachePruneOptions.cs | 4 +-
.../Options/DockerScoutCompareOptions.cs | 42 +--
.../Options/DockerScoutCvesOptions.cs | 50 ++--
.../Options/DockerScoutEnvironmentOptions.cs | 6 +-
.../DockerScoutIntegrationConfigureOptions.cs | 6 +-
.../DockerScoutIntegrationDeleteOptions.cs | 4 +-
.../DockerScoutIntegrationListOptions.cs | 4 +-
.../Options/DockerScoutOptions.cs | 2 +-
.../Options/DockerScoutPolicyOptions.cs | 14 +-
.../Options/DockerScoutQuickviewOptions.cs | 14 +-
.../DockerScoutRecommendationsOptions.cs | 14 +-
.../Options/DockerScoutRepoDisableOptions.cs | 10 +-
.../Options/DockerScoutRepoEnableOptions.cs | 10 +-
.../Options/DockerScoutRepoListOptions.cs | 10 +-
.../Options/DockerScoutSbomOptions.cs | 10 +-
.../Options/DockerScoutStreamOptions.cs | 6 +-
.../Options/DockerScoutWatchOptions.cs | 20 +-
.../Options/DockerSearchOptions.cs | 8 +-
.../Options/DockerSecretCreateOptions.cs | 6 +-
.../Options/DockerSecretInspectOptions.cs | 4 +-
.../Options/DockerSecretLsOptions.cs | 6 +-
.../Options/DockerServiceCreateOptions.cs | 140 +++++-----
.../Options/DockerServiceInspectOptions.cs | 4 +-
.../Options/DockerServiceLogsOptions.cs | 18 +-
.../Options/DockerServiceLsOptions.cs | 6 +-
.../Options/DockerServicePsOptions.cs | 10 +-
.../Options/DockerServiceRollbackOptions.cs | 4 +-
.../Options/DockerServiceScaleOptions.cs | 2 +-
.../Options/DockerServiceUpdateOptions.cs | 182 ++++++-------
.../Options/DockerStackConfigOptions.cs | 4 +-
.../Options/DockerStackDeployOptions.cs | 8 +-
.../Options/DockerStackLsOptions.cs | 2 +-
.../Options/DockerStackOptions.cs | 2 +-
.../Options/DockerStackPsOptions.cs | 10 +-
.../Options/DockerStackServicesOptions.cs | 6 +-
.../Options/DockerSwarmCaOptions.cs | 14 +-
.../Options/DockerSwarmInitOptions.cs | 30 +--
.../Options/DockerSwarmJoinOptions.cs | 10 +-
.../Options/DockerSwarmJoinTokenOptions.cs | 4 +-
.../Options/DockerSwarmLeaveOptions.cs | 2 +-
.../Options/DockerSwarmUnlockKeyOptions.cs | 4 +-
.../Options/DockerSwarmUpdateOptions.cs | 14 +-
.../Options/DockerSystemDfOptions.cs | 4 +-
.../Options/DockerSystemEventsOptions.cs | 8 +-
.../Options/DockerSystemInfoOptions.cs | 2 +-
.../Options/DockerSystemPruneOptions.cs | 8 +-
.../Options/DockerTrustInspectOptions.cs | 2 +-
.../Options/DockerTrustKeyGenerateOptions.cs | 2 +-
.../Options/DockerTrustKeyLoadOptions.cs | 2 +-
.../Options/DockerTrustRevokeOptions.cs | 2 +-
.../Options/DockerTrustSignOptions.cs | 2 +-
.../Options/DockerTrustSignerAddOptions.cs | 2 +-
.../Options/DockerTrustSignerRemoveOptions.cs | 2 +-
.../Options/DockerVersionOptions.cs | 2 +-
.../Options/DockerVolumeCreateOptions.cs | 28 +-
.../Options/DockerVolumeInspectOptions.cs | 2 +-
.../Options/DockerVolumeLsOptions.cs | 8 +-
.../Options/DockerVolumePruneOptions.cs | 6 +-
.../Options/DockerVolumeRmOptions.cs | 2 +-
.../Options/DockerVolumeUpdateOptions.cs | 2 +-
.../Services/Docker.cs | 50 ++--
.../Services/DockerBuilder.cs | 2 +-
.../Services/DockerBuildx.cs | 28 +-
.../Services/DockerBuildxImagetools.cs | 4 +-
.../Services/DockerCheckpoint.cs | 6 +-
.../Services/DockerCompose.cs | 56 ++--
.../Services/DockerComposeAlpha.cs | 8 +-
.../Services/DockerConfig.cs | 8 +-
.../Services/DockerContainer.cs | 50 ++--
.../Services/DockerContext.cs | 18 +-
.../Services/DockerImage.cs | 24 +-
.../Services/DockerManifest.cs | 10 +-
.../Services/DockerNetwork.cs | 14 +-
.../Services/DockerNode.cs | 14 +-
.../Services/DockerPlugin.cs | 18 +-
.../Services/DockerScout.cs | 30 +--
.../Services/DockerScoutCache.cs | 4 +-
.../Services/DockerScoutIntegration.cs | 6 +-
.../Services/DockerScoutRepo.cs | 6 +-
.../Services/DockerSecret.cs | 8 +-
.../Services/DockerService.cs | 18 +-
.../Services/DockerStack.cs | 12 +-
.../Services/DockerSwarm.cs | 16 +-
.../Services/DockerSystem.cs | 8 +-
.../Services/DockerTrust.cs | 10 +-
.../Services/DockerTrustKey.cs | 4 +-
.../Services/DockerTrustSigner.cs | 4 +-
.../Services/DockerVolume.cs | 12 +-
.../Options/DotNetAddPackageOptions.cs | 14 +-
.../Options/DotNetAddReferenceOptions.cs | 4 +-
.../Options/DotNetBuildOptions.cs | 40 +--
.../Options/DotNetBuildServerOptions.cs | 6 +-
.../Options/DotNetCleanOptions.cs | 16 +-
.../Options/DotNetDevCertsOptions.cs | 22 +-
.../Options/DotNetFormatOptions.cs | 22 +-
.../Options/DotNetListPackageOptions.cs | 28 +-
.../Options/DotNetMigrateOptions.cs | 14 +-
.../Options/DotNetMsbuildOptions.cs | 2 +-
.../Options/DotNetNewOptions.cs | 20 +-
.../Options/DotNetNugetAddSourceOptions.cs | 12 +-
.../Options/DotNetNugetDeleteOptions.cs | 12 +-
.../DotNetNugetDisableSourceOptions.cs | 2 +-
.../Options/DotNetNugetEnableSourceOptions.cs | 2 +-
.../Options/DotNetNugetListSourceOptions.cs | 4 +-
.../Options/DotNetNugetLocalsOptions.cs | 6 +-
.../Options/DotNetNugetPushOptions.cs | 22 +-
.../Options/DotNetNugetRemoveSourceOptions.cs | 2 +-
.../Options/DotNetNugetSignOptions.cs | 24 +-
.../Options/DotNetNugetUpdateSourceOptions.cs | 12 +-
.../Options/DotNetNugetVerifyOptions.cs | 8 +-
.../Options/DotNetOptions.cs | 2 +-
.../Options/DotNetPackOptions.cs | 30 +--
.../Options/DotNetPublishOptions.cs | 42 +--
.../Options/DotNetRemoveReferenceOptions.cs | 2 +-
.../Options/DotNetRestoreOptions.cs | 36 +--
.../Options/DotNetRunOptions.cs | 30 +--
.../Options/DotNetStoreOptions.cs | 16 +-
.../Options/DotNetTestOptions.cs | 54 ++--
.../Options/DotNetToolInstallOptions.cs | 32 +--
.../Options/DotNetToolListOptions.cs | 6 +-
.../Options/DotNetToolSearchOptions.cs | 8 +-
.../Options/DotNetToolUninstallOptions.cs | 6 +-
.../Options/DotNetToolUpdateOptions.cs | 28 +-
.../Options/DotNetVstestOptions.cs | 32 +--
.../Options/DotNetWatchOptions.cs | 14 +-
.../Options/DotNetWorkloadInstallOptions.cs | 20 +-
.../Options/DotNetWorkloadListOptions.cs | 2 +-
.../Options/DotNetWorkloadOptions.cs | 2 +-
.../Options/DotNetWorkloadRepairOptions.cs | 16 +-
.../Options/DotNetWorkloadRestoreOptions.cs | 20 +-
.../Options/DotNetWorkloadSearchOptions.cs | 2 +-
.../Options/DotNetWorkloadUpdateOptions.cs | 22 +-
.../Parsers/Trx/TrxParser.cs | 2 +-
.../Services/DotNet.cs | 36 +--
.../Services/DotNetAdd.cs | 4 +-
.../Services/DotNetList.cs | 4 +-
.../Services/DotNetNuget.cs | 12 +-
.../Services/DotNetNugetAdd.cs | 2 +-
.../Services/DotNetNugetDisable.cs | 2 +-
.../Services/DotNetNugetEnable.cs | 2 +-
.../Services/DotNetNugetList.cs | 2 +-
.../Services/DotNetNugetRemove.cs | 2 +-
.../Services/DotNetNugetUpdate.cs | 2 +-
.../Services/DotNetRemove.cs | 4 +-
.../Services/DotNetSdk.cs | 2 +-
.../Services/DotNetTool.cs | 10 +-
.../Services/DotNetWorkload.cs | 14 +-
.../Attributes/RunOnlyOnBranchAttribute.cs | 4 +-
src/ModularPipelines.Git/GitCommands.cs | 156 ++++++------
src/ModularPipelines.Git/GitVersioning.cs | 10 +-
.../Models/GitVersionInformation.cs | 48 ++--
.../Options/GitAddOptions.cs | 40 +--
.../Options/GitAmOptions.cs | 68 ++---
.../Options/GitApplyOptions.cs | 46 ++--
.../Options/GitArchiveOptions.cs | 6 +-
.../Options/GitBaseOptions.cs | 28 +-
.../Options/GitBisectOptions.cs | 4 +-
.../Options/GitBlameOptions.cs | 30 +--
.../Options/GitBranchOptions.cs | 46 ++--
.../Options/GitBugreportOptions.cs | 2 +-
.../Options/GitBundleOptions.cs | 4 +-
.../Options/GitCatFileOptions.cs | 28 +-
.../Options/GitCheckIgnoreOptions.cs | 4 +-
.../Options/GitCheckoutIndexOptions.cs | 16 +-
.../Options/GitCheckoutOptions.cs | 56 ++--
.../Options/GitCherryPickOptions.cs | 28 +-
.../Options/GitCleanOptions.cs | 8 +-
.../Options/GitCloneOptions.cs | 42 +--
.../Options/GitCommitOptions.cs | 54 ++--
.../Options/GitCommitTreeOptions.cs | 2 +-
.../Options/GitConfigOptions.cs | 56 ++--
.../Options/GitCountObjectsOptions.cs | 4 +-
.../Options/GitDaemonOptions.cs | 22 +-
.../Options/GitDescribeOptions.cs | 16 +-
.../Options/GitDiffIndexOptions.cs | 102 ++++----
.../Options/GitDiffOptions.cs | 98 +++----
.../Options/GitDifftoolOptions.cs | 20 +-
.../Options/GitFastImportOptions.cs | 14 +-
.../Options/GitFetchOptions.cs | 76 +++---
.../Options/GitFilterBranchOptions.cs | 4 +-
.../Options/GitForEachRefOptions.cs | 14 +-
.../Options/GitFormatPatchOptions.cs | 116 ++++-----
.../Options/GitFsckOptions.cs | 30 +--
.../Options/GitGcOptions.cs | 16 +-
.../Options/GitGrepOptions.cs | 76 +++---
.../Options/GitHashObjectOptions.cs | 10 +-
.../Options/GitHelpOptions.cs | 24 +-
.../Options/GitInitOptions.cs | 4 +-
.../Options/GitInstawebOptions.cs | 16 +-
.../Options/GitLogOptions.cs | 240 +++++++++---------
.../Options/GitLsFilesOptions.cs | 40 +--
.../Options/GitLsTreeOptions.cs | 12 +-
.../Options/GitMergeBaseOptions.cs | 10 +-
.../Options/GitMergeOptions.cs | 70 ++---
.../Options/GitMergetoolOptions.cs | 10 +-
.../Options/GitMvOptions.cs | 6 +-
.../Options/GitNotesOptions.cs | 18 +-
.../Options/GitPullOptions.cs | 100 ++++----
.../Options/GitPushOptions.cs | 60 ++---
.../Options/GitRangeDiffOptions.cs | 6 +-
.../Options/GitReadTreeOptions.cs | 18 +-
.../Options/GitRebaseOptions.cs | 90 +++----
.../Options/GitReflogOptions.cs | 14 +-
.../Options/GitRemoteOptions.cs | 2 +-
.../Options/GitResetOptions.cs | 22 +-
.../Options/GitRestoreOptions.cs | 32 +--
.../Options/GitRevListOptions.cs | 150 +++++------
.../Options/GitRevParseOptions.cs | 84 +++---
.../Options/GitRevertOptions.cs | 26 +-
.../Options/GitRmOptions.cs | 14 +-
.../Options/GitSendEmailOptions.cs | 68 ++---
.../Options/GitShortlogOptions.cs | 84 +++---
.../Options/GitShowOptions.cs | 122 ++++-----
.../Options/GitShowRefOptions.cs | 12 +-
.../Options/GitStashOptions.cs | 22 +-
.../Options/GitStatusOptions.cs | 20 +-
.../Options/GitSubmoduleOptions.cs | 42 +--
.../Options/GitSvnOptions.cs | 66 ++---
.../Options/GitSwitchOptions.cs | 28 +-
.../Options/GitSymbolicRefOptions.cs | 10 +-
.../Options/GitTagOptions.cs | 24 +-
.../Options/GitUpdateIndexOptions.cs | 64 ++---
.../Options/GitUpdateServerInfoOptions.cs | 2 +-
.../Options/GitVerifyPackOptions.cs | 4 +-
.../Options/GitWorktreeOptions.cs | 26 +-
.../Options/GitWriteTreeOptions.cs | 2 +-
.../StaticGitInformation.cs | 2 +-
src/ModularPipelines.GitHub/GitHub.cs | 146 +++++------
.../GitHubEnvironmentVariables.cs | 8 +-
.../GitHubMarkdownSummaryGenerator.cs | 16 +-
.../GitHubRepositoryInfo.cs | 156 ++++++------
src/ModularPipelines.GitHub/IGitHub.cs | 4 +-
.../IGitHubEnvironmentVariables.cs | 64 ++---
.../IGitHubRepositoryInfo.cs | 72 +++---
.../Options/GitHubOptions.cs | 4 +-
src/ModularPipelines.Helm/Helm.cs | 82 +++---
.../Options/HelmCompletionBashOptions.cs | 2 +-
.../Options/HelmCompletionFishOptions.cs | 2 +-
.../HelmCompletionPowershellOptions.cs | 2 +-
.../Options/HelmCompletionZshOptions.cs | 2 +-
.../Options/HelmDependencyBuildOptions.cs | 4 +-
.../Options/HelmDependencyUpdateOptions.cs | 4 +-
.../Options/HelmGetValuesOptions.cs | 2 +-
.../Options/HelmInstallOptions.cs | 36 +--
.../Options/HelmLintOptions.cs | 6 +-
.../Options/HelmListOptions.cs | 24 +-
.../Options/HelmOptions.cs | 2 +-
.../Options/HelmPackageOptions.cs | 4 +-
.../Options/HelmPullOptions.cs | 12 +-
.../Options/HelmPushOptions.cs | 2 +-
.../Options/HelmRegistryLoginOptions.cs | 4 +-
.../Options/HelmRepoAddOptions.cs | 12 +-
.../Options/HelmRepoUpdateOptions.cs | 2 +-
.../Options/HelmRollbackOptions.cs | 14 +-
.../Options/HelmSearchHubOptions.cs | 2 +-
.../Options/HelmSearchRepoOptions.cs | 6 +-
.../Options/HelmShowAllOptions.cs | 8 +-
.../Options/HelmShowChartOptions.cs | 8 +-
.../Options/HelmShowCrdsOptions.cs | 8 +-
.../Options/HelmShowReadmeOptions.cs | 8 +-
.../Options/HelmShowValuesOptions.cs | 8 +-
.../Options/HelmStatusOptions.cs | 4 +-
.../Options/HelmTemplateOptions.cs | 46 ++--
.../Options/HelmTestOptions.cs | 2 +-
.../Options/HelmUninstallOptions.cs | 8 +-
.../Options/HelmUpgradeOptions.cs | 40 +--
.../Options/HelmVersionOptions.cs | 2 +-
src/ModularPipelines.Kubernetes/Kubernetes.cs | 208 +++++++--------
.../Options/KubernetesAlphaOptions.cs | 6 +-
.../Options/KubernetesAnnotateOptions.cs | 18 +-
.../Options/KubernetesApiResourcesOptions.cs | 6 +-
.../Options/KubernetesApiVersionsOptions.cs | 8 +-
.../KubernetesApplyEditLastAppliedOptions.cs | 10 +-
.../Options/KubernetesApplyOptions.cs | 26 +-
.../KubernetesApplySetLastAppliedOptions.cs | 6 +-
.../KubernetesApplyViewLastAppliedOptions.cs | 4 +-
.../Options/KubernetesAttachOptions.cs | 6 +-
.../Options/KubernetesAuthCanIOptions.cs | 8 +-
.../Options/KubernetesAuthOptions.cs | 8 +-
.../Options/KubernetesAuthReconcileOptions.cs | 10 +-
.../Options/KubernetesAutoscaleOptions.cs | 10 +-
.../KubernetesCertificateApproveOptions.cs | 8 +-
.../KubernetesCertificateDenyOptions.cs | 8 +-
.../Options/KubernetesCertificateOptions.cs | 8 +-
.../KubernetesClusterInfoDumpOptions.cs | 6 +-
.../Options/KubernetesClusterInfoOptions.cs | 6 +-
.../Options/KubernetesCompletionOptions.cs | 2 +-
.../KubernetesConfigCurrentContextOptions.cs | 2 +-
.../KubernetesConfigDeleteClusterOptions.cs | 2 +-
.../KubernetesConfigDeleteContextOptions.cs | 2 +-
.../KubernetesConfigDeleteUserOptions.cs | 2 +-
.../KubernetesConfigGetClustersOptions.cs | 2 +-
.../KubernetesConfigGetContextsOptions.cs | 2 +-
.../KubernetesConfigGetUsersOptions.cs | 2 +-
.../Options/KubernetesConfigOptions.cs | 2 +-
.../KubernetesConfigRenameContextOptions.cs | 2 +-
.../KubernetesConfigSetClusterOptions.cs | 2 +-
.../KubernetesConfigSetContextOptions.cs | 2 +-
.../KubernetesConfigSetCredentialsOptions.cs | 2 +-
.../Options/KubernetesConfigSetOptions.cs | 2 +-
.../Options/KubernetesConfigUnsetOptions.cs | 12 +-
.../KubernetesConfigUseContextOptions.cs | 12 +-
.../Options/KubernetesConfigViewOptions.cs | 12 +-
.../Options/KubernetesCpOptions.cs | 2 +-
...bernetesCreateClusterRoleBindingOptions.cs | 8 +-
.../KubernetesCreateClusterRoleOptions.cs | 8 +-
.../KubernetesCreateConfigMapOptions.cs | 10 +-
.../Options/KubernetesCreateCronJobOptions.cs | 8 +-
.../KubernetesCreateDeploymentOptions.cs | 8 +-
.../Options/KubernetesCreateIngressOptions.cs | 8 +-
.../Options/KubernetesCreateJobOptions.cs | 8 +-
.../KubernetesCreateNamespaceOptions.cs | 8 +-
.../Options/KubernetesCreateOptions.cs | 16 +-
...ernetesCreatePodDisruptionBudgetOptions.cs | 8 +-
.../KubernetesCreatePriorityClassOptions.cs | 10 +-
.../Options/KubernetesCreateQuotaOptions.cs | 8 +-
.../KubernetesCreateRoleBindingOptions.cs | 8 +-
.../Options/KubernetesCreateRoleOptions.cs | 8 +-
...rnetesCreateSecretDockerRegistryOptions.cs | 10 +-
.../KubernetesCreateSecretGenericOptions.cs | 10 +-
.../Options/KubernetesCreateSecretOptions.cs | 10 +-
.../KubernetesCreateSecretTlsOptions.cs | 10 +-
.../KubernetesCreateServiceAccountOptions.cs | 8 +-
...KubernetesCreateServiceClusteripOptions.cs | 8 +-
...ernetesCreateServiceExternalnameOptions.cs | 8 +-
...ernetesCreateServiceLoadbalancerOptions.cs | 8 +-
.../KubernetesCreateServiceNodePortOptions.cs | 8 +-
.../Options/KubernetesCreateServiceOptions.cs | 8 +-
.../Options/KubernetesDebugOptions.cs | 16 +-
.../Options/KubernetesDeleteOptions.cs | 14 +-
.../Options/KubernetesDescribeOptions.cs | 6 +-
.../Options/KubernetesDiffOptions.cs | 6 +-
.../Options/KubernetesDrainOptions.cs | 12 +-
.../Options/KubernetesEditOptions.cs | 16 +-
.../Options/KubernetesExecOptions.cs | 6 +-
.../Options/KubernetesExplainOptions.cs | 2 +-
.../Options/KubernetesExposeOptions.cs | 10 +-
.../Options/KubernetesGetOptions.cs | 26 +-
.../Options/KubernetesKustomizeOptions.cs | 10 +-
.../Options/KubernetesLabelOptions.cs | 18 +-
.../Options/KubernetesLogsOptions.cs | 14 +-
.../Options/KubernetesOptionsOptions.cs | 2 +-
.../Options/KubernetesPatchOptions.cs | 10 +-
.../Options/KubernetesPluginListOptions.cs | 2 +-
.../Options/KubernetesPluginOptions.cs | 2 +-
.../Options/KubernetesProxyOptions.cs | 2 +-
.../Options/KubernetesReplaceOptions.cs | 14 +-
.../KubernetesRolloutHistoryOptions.cs | 6 +-
.../Options/KubernetesRolloutOptions.cs | 6 +-
.../Options/KubernetesRolloutPauseOptions.cs | 6 +-
.../KubernetesRolloutRestartOptions.cs | 6 +-
.../Options/KubernetesRolloutResumeOptions.cs | 6 +-
.../Options/KubernetesRolloutStatusOptions.cs | 4 +-
.../Options/KubernetesRolloutUndoOptions.cs | 6 +-
.../Options/KubernetesRunOptions.cs | 32 +--
.../Options/KubernetesScaleOptions.cs | 10 +-
.../Options/KubernetesSetEnvOptions.cs | 16 +-
.../Options/KubernetesSetImageOptions.cs | 12 +-
.../Options/KubernetesSetOptions.cs | 16 +-
.../Options/KubernetesSetResourcesOptions.cs | 12 +-
.../Options/KubernetesSetSelectorOptions.cs | 12 +-
.../KubernetesSetServiceAccountOptions.cs | 12 +-
.../Options/KubernetesSetSubjectOptions.cs | 10 +-
.../Options/KubernetesTaintOptions.cs | 10 +-
.../Options/KubernetesTopNodeOptions.cs | 4 +-
.../Options/KubernetesTopOptions.cs | 4 +-
.../Options/KubernetesTopPodOptions.cs | 8 +-
.../Options/KubernetesVersionOptions.cs | 4 +-
.../Options/KubernetesWaitOptions.cs | 12 +-
.../Models/NpmAccessGetStatusOptions.cs | 6 +-
.../Models/NpmAccessGrantOptions.cs | 6 +-
.../NpmAccessListCollaboratorsOptions.cs | 6 +-
.../Models/NpmAccessListPackagesOptions.cs | 6 +-
.../Models/NpmAccessRevokeOptions.cs | 6 +-
.../Models/NpmAccessSetOptions.cs | 6 +-
.../Models/NpmAdduserOptions.cs | 6 +-
.../Models/NpmAuditOptions.cs | 28 +-
.../Models/NpmBugsOptions.cs | 10 +-
.../Models/NpmCacheAddOptions.cs | 2 +-
.../Models/NpmCacheCleanOptions.cs | 2 +-
.../Models/NpmCacheLsOptions.cs | 2 +-
.../Models/NpmCacheVerifyOptions.cs | 2 +-
.../Models/NpmCiOptions.cs | 28 +-
.../Models/NpmConfigDeleteOptions.cs | 10 +-
.../Models/NpmConfigEditOptions.cs | 10 +-
.../Models/NpmConfigFixOptions.cs | 10 +-
.../Models/NpmConfigGetOptions.cs | 10 +-
.../Models/NpmConfigListOptions.cs | 10 +-
.../Models/NpmConfigSetOptions.cs | 10 +-
.../Models/NpmConfigSetRegistryOptions.cs | 10 +-
.../Models/NpmDedupeOptions.cs | 28 +-
.../Models/NpmDeprecateOptions.cs | 4 +-
.../Models/NpmDiffOptions.cs | 26 +-
.../Models/NpmDocsOptions.cs | 10 +-
.../Models/NpmDoctorOptions.cs | 2 +-
.../Models/NpmEditOptions.cs | 2 +-
.../Models/NpmExecCOptions.cs | 10 +-
.../Models/NpmExecOptions.cs | 10 +-
.../Models/NpmExplainOptions.cs | 4 +-
.../Models/NpmExploreOptions.cs | 2 +-
.../Models/NpmFundOptions.cs | 10 +-
.../Models/NpmHelpOptions.cs | 2 +-
.../Models/NpmHookAddOptions.cs | 4 +-
.../Models/NpmHookLsOptions.cs | 4 +-
.../Models/NpmHookRmOptions.cs | 4 +-
.../Models/NpmHookUpdateOptions.cs | 4 +-
.../Models/NpmInitOptions.cs | 24 +-
.../Models/NpmInstallOptions.cs | 54 ++--
.../Models/NpmLinkOptions.cs | 34 +--
.../Models/NpmLoginOptions.cs | 6 +-
.../Models/NpmLogoutOptions.cs | 4 +-
.../Models/NpmLsOptions.cs | 30 +--
.../Models/NpmOrgLsOptions.cs | 8 +-
.../Models/NpmOrgRmOptions.cs | 8 +-
.../Models/NpmOrgSetOptions.cs | 8 +-
.../Models/NpmOutdatedOptions.cs | 12 +-
.../Models/NpmOwnerAddOptions.cs | 8 +-
.../Models/NpmOwnerLsOptions.cs | 8 +-
.../Models/NpmOwnerRmOptions.cs | 8 +-
.../Models/NpmPackOptions.cs | 12 +-
.../Models/NpmPingOptions.cs | 2 +-
.../Models/NpmPkgDeleteOptions.cs | 8 +-
.../Models/NpmPkgFixOptions.cs | 8 +-
.../Models/NpmPkgGetOptions.cs | 8 +-
.../Models/NpmPkgSetOptions.cs | 8 +-
.../Models/NpmPrefixOptions.cs | 2 +-
.../Models/NpmProfileDisable2faOptions.cs | 8 +-
.../Models/NpmProfileEnable2faOptions.cs | 8 +-
.../Models/NpmProfileGetOptions.cs | 8 +-
.../Models/NpmProfileSetOptions.cs | 8 +-
.../Models/NpmPruneOptions.cs | 20 +-
.../Models/NpmPublishOptions.cs | 18 +-
.../Models/NpmQueryOptions.cs | 10 +-
.../Models/NpmRebuildOptions.cs | 16 +-
.../Models/NpmRepoOptions.cs | 10 +-
.../Models/NpmRestartOptions.cs | 4 +-
.../Models/NpmRootOptions.cs | 2 +-
.../Models/NpmSbomOptions.cs | 12 +-
.../Models/NpmSearchOptions.cs | 22 +-
.../Models/NpmStarOptions.cs | 6 +-
.../Models/NpmStarsOptions.cs | 2 +-
.../Models/NpmStartOptions.cs | 4 +-
.../Models/NpmStopOptions.cs | 4 +-
.../Models/NpmTeamAddOptions.cs | 8 +-
.../Models/NpmTeamCreateOptions.cs | 8 +-
.../Models/NpmTeamDestroyOptions.cs | 8 +-
.../Models/NpmTeamLsOptions.cs | 8 +-
.../Models/NpmTeamRmOptions.cs | 8 +-
.../Models/NpmTestOptions.cs | 4 +-
.../Models/NpmTokenCreateOptions.cs | 8 +-
.../Models/NpmTokenListOptions.cs | 8 +-
.../Models/NpmTokenRevokeOptions.cs | 8 +-
.../Models/NpmUninstallOptions.cs | 12 +-
.../Models/NpmUnpublishOptions.cs | 8 +-
.../Models/NpmUnstarOptions.cs | 6 +-
.../Models/NpmUpdateOptions.cs | 34 +--
.../Models/NpmVersionOptions.cs | 20 +-
.../Models/NpmViewOptions.cs | 8 +-
.../Models/NpmWhoamiOptions.cs | 2 +-
src/ModularPipelines.Node/Node.cs | 2 +-
src/ModularPipelines.Node/Npm.cs | 190 +++++++-------
src/ModularPipelines.Node/Npx.cs | 2 +-
src/ModularPipelines.Node/Nvm.cs | 8 +-
.../Options/TerraformApplyOptions.cs | 28 +-
.../Options/TerraformConsoleOptions.cs | 2 +-
.../Options/TerraformDestroyOptions.cs | 2 +-
.../Options/TerraformFmtOptions.cs | 10 +-
.../Options/TerraformForceUnlockOptions.cs | 2 +-
.../Options/TerraformGetOptions.cs | 4 +-
.../Options/TerraformGraphOptions.cs | 8 +-
.../Options/TerraformImportOptions.cs | 26 +-
.../Options/TerraformInitOptions.cs | 32 +--
.../Options/TerraformOutputOptions.cs | 8 +-
.../Options/TerraformPlanOptions.cs | 38 +--
.../Options/TerraformRefreshOptions.cs | 4 +-
.../Options/TerraformShowOptions.cs | 6 +-
.../Options/TerraformStateCommandOptions.cs | 2 +-
.../Options/TerraformStateListOptions.cs | 4 +-
.../Options/TerraformStateMvOptions.cs | 18 +-
.../Options/TerraformStatePushOptions.cs | 4 +-
.../TerraformStateReplaceProviderOptions.cs | 14 +-
.../Options/TerraformStateRmOptions.cs | 14 +-
.../Options/TerraformStateShowOptions.cs | 2 +-
.../Options/TerraformTaintOptions.cs | 16 +-
.../TerraformTerraformProvidersLockOptions.cs | 6 +-
...erraformTerraformProvidersMirrorOptions.cs | 2 +-
...erraformTerraformProvidersSchemaOptions.cs | 2 +-
.../Options/TerraformUntaintOptions.cs | 16 +-
.../Options/TerraformValidateOptions.cs | 4 +-
.../Options/TerraformVersionOptions.cs | 2 +-
.../TerraformWorkspaceDeleteOptions.cs | 6 +-
.../Options/TerraformWorkspaceNewOptions.cs | 6 +-
.../TerraformWorkspaceSelectOptions.cs | 2 +-
src/ModularPipelines.Terraform/Terraform.cs | 62 ++---
.../Options/DownloadOptions.cs | 40 +--
.../Options/ExportOptions.cs | 14 +-
.../Options/HashOptions.cs | 10 +-
.../Options/ImportOptions.cs | 18 +-
.../Options/InstallOptions.cs | 62 ++---
.../Options/ListOptions.cs | 32 +--
.../Options/PinOptions.cs | 8 +-
.../Options/ShowOptions.cs | 36 +--
.../Options/SourceAddOptions.cs | 12 +-
.../Options/SourceExportOptions.cs | 8 +-
.../Options/SourceListOptions.cs | 8 +-
.../Options/SourceRemoveOptions.cs | 8 +-
.../Options/SourceResetOptions.cs | 8 +-
.../Options/SourceUpdateOptions.cs | 8 +-
.../Options/UninstallOptions.cs | 42 +--
.../Options/UpgradeOptions.cs | 64 ++---
.../Options/ValidateOptions.cs | 8 +-
src/ModularPipelines.WinGet/WinGet.cs | 46 ++--
.../Models/YarnAddOptions.cs | 24 +-
.../Models/YarnBinOptions.cs | 4 +-
.../Models/YarnCacheCleanOptions.cs | 4 +-
.../Models/YarnConfigGetOptions.cs | 6 +-
.../Models/YarnConfigOptions.cs | 4 +-
.../Models/YarnConfigSetOptions.cs | 4 +-
.../Models/YarnConfigUnsetOptions.cs | 2 +-
.../Models/YarnConstraintsOptions.cs | 4 +-
.../Models/YarnConstraintsQueryOptions.cs | 2 +-
.../Models/YarnConstraintsSourceOptions.cs | 2 +-
.../Models/YarnDedupeOptions.cs | 8 +-
.../Models/YarnDlxOptions.cs | 4 +-
.../Models/YarnExplainOptions.cs | 2 +-
.../Models/YarnInfoOptions.cs | 18 +-
.../Models/YarnInitOptions.cs | 8 +-
.../Models/YarnInstallOptions.cs | 16 +-
.../Models/YarnLinkOptions.cs | 6 +-
.../Models/YarnNpmAuditOptions.cs | 16 +-
.../Models/YarnNpmInfoOptions.cs | 4 +-
.../Models/YarnNpmLoginOptions.cs | 6 +-
.../Models/YarnNpmLogoutOptions.cs | 6 +-
.../Models/YarnNpmPublishOptions.cs | 8 +-
.../Models/YarnNpmTagListOptions.cs | 2 +-
.../Models/YarnNpmWhoamiOptions.cs | 4 +-
.../Models/YarnPackOptions.cs | 8 +-
.../Models/YarnPatchCommitOptions.cs | 2 +-
.../Models/YarnPatchOptions.cs | 4 +-
.../Models/YarnPluginCheckOptions.cs | 2 +-
.../YarnPluginImportFromSourcesOptions.cs | 10 +-
.../Models/YarnPluginImportOptions.cs | 2 +-
.../Models/YarnPluginListOptions.cs | 2 +-
.../Models/YarnPluginRuntimeOptions.cs | 2 +-
.../Models/YarnRemoveOptions.cs | 4 +-
.../Models/YarnRunOptions.cs | 10 +-
.../Models/YarnSetResolutionOptions.cs | 2 +-
.../YarnSetVersionFromSourcesOptions.cs | 16 +-
.../Models/YarnSetVersionOptions.cs | 4 +-
.../Models/YarnStageOptions.cs | 6 +-
.../Models/YarnUnlinkOptions.cs | 2 +-
.../Models/YarnUnplugOptions.cs | 6 +-
.../Models/YarnUpOptions.cs | 14 +-
.../Models/YarnVersionApplyOptions.cs | 10 +-
.../Models/YarnVersionCheckOptions.cs | 2 +-
.../Models/YarnVersionOptions.cs | 4 +-
.../Models/YarnWhyOptions.cs | 6 +-
.../Models/YarnWorkspacesFocusOptions.cs | 6 +-
.../Models/YarnWorkspacesForeachOptions.cs | 30 +--
.../Models/YarnWorkspacesListOptions.cs | 10 +-
src/ModularPipelines.Yarn/Yarn.cs | 116 ++++-----
.../BooleanCommandSwitchAttribute.cs | 2 +-
.../Attributes/CommandSwitchAttribute.cs | 2 +-
.../Attributes/ICommandSwitchAttribute.cs | 3 +
.../Attributes/NotInParallelAttribute.cs | 2 +-
.../Attributes/ParallelLimiterAttribute.cs | 2 +-
src/ModularPipelines/Context/Bash.cs | 4 +-
src/ModularPipelines/Context/Command.cs | 8 +-
src/ModularPipelines/Context/FileInstaller.cs | 4 +-
src/ModularPipelines/Context/Linux/AptGet.cs | 24 +-
.../Context/LinuxInstaller.cs | 2 +-
src/ModularPipelines/Context/MacInstaller.cs | 2 +-
src/ModularPipelines/Context/Powershell.cs | 4 +-
.../Context/PredefinedInstallers.cs | 6 +-
.../Context/WindowsInstaller.cs | 4 +-
.../Engine/DependencyChainProvider.cs | 2 +-
.../Engine/DependencyPrinter.cs | 4 +-
.../Engine/ExceptionContainer.cs | 2 +-
.../Engine/Executors/ExecutionOrchestrator.cs | 6 +-
.../Executors/ModuleHandlers/ErrorHandler.cs | 4 +-
.../Engine/Executors/PipelineExecutor.cs | 4 +-
.../Engine/Executors/PrintProgressExecutor.cs | 4 +-
.../Engine/IExceptionContainer.cs | 2 +-
.../Engine/ModuleContextProvider.cs | 4 +-
src/ModularPipelines/Engine/ModuleExecutor.cs | 16 +-
.../Engine/OptionsProvider.cs | 2 +-
src/ModularPipelines/Enums/Status.cs | 2 +-
.../Exceptions/SubModuleFailedException.cs | 2 +-
.../Extensions/FileExtensions.cs | 2 +-
.../Extensions/TypeExtensions.cs | 12 +-
src/ModularPipelines/FileSystem/File.cs | 34 +--
src/ModularPipelines/FileSystem/Folder.cs | 28 +-
.../CommandOptionsObjectArgumentParser.cs | 2 +-
.../Helpers/NoOpDisposable.cs | 4 +-
.../Helpers/ParallelLimitProvider.cs | 2 +-
.../Helpers/ProgressPrinter.cs | 2 +-
src/ModularPipelines/Http/Http.cs | 4 +-
.../Interfaces/IScopeDisposer.cs | 2 +-
.../Logging/AfterPipelineLogger.cs | 2 +-
.../Logging/IAfterPipelineLogger.cs | 2 +-
src/ModularPipelines/Logging/ModuleLogger.cs | 6 +-
.../Logging/ModuleLoggerProvider.cs | 4 +-
src/ModularPipelines/Models/CommandResult.cs | 2 +-
src/ModularPipelines/Models/IModuleResult.cs | 4 +-
.../Models/PipelineSummary.cs | 2 +-
src/ModularPipelines/Modules/Module.cs | 22 +-
src/ModularPipelines/Modules/ModuleBase.cs | 14 +-
src/ModularPipelines/Options/HttpOptions.cs | 2 +-
.../Options/Linux/AptGet/AptGetOptions.cs | 48 ++--
.../Options/Linux/DpkgInstallOptions.cs | 2 +-
.../Options/PipelineOptions.cs | 2 +-
.../Options/Windows/ExeInstallerOptions.cs | 20 +-
.../Options/Windows/MsiInstallerOptions.cs | 20 +-
.../SmartCollapsableLogging.cs | 4 +-
test/ModularPipelines.TestHelpers/TestBase.cs | 2 +-
.../TestPipelineHostBuilder.cs | 4 +-
.../AfterPipelineLoggerTests.cs | 10 +-
.../AlwaysRunTests.cs | 2 +-
.../CommandParserTests.cs | 4 +-
.../DependsOnAllInheritingFromTests.cs | 8 +-
.../EngineCancellationTokenTests.cs | 2 +-
.../Extensions/BooleanExtensionTests.cs | 2 +-
.../Extensions/CommandExtensionsTests.cs | 10 +-
.../Extensions/FileExtensionsTests.cs | 6 +-
.../FileSystemContextTests.cs | 12 +-
test/ModularPipelines.UnitTests/FileTests.cs | 18 +-
.../ModularPipelines.UnitTests/FolderTests.cs | 42 +--
.../GitInformationTests.cs | 4 +-
.../Helpers/Base64Tests.cs | 4 +-
.../Helpers/BashTests.cs | 6 +-
.../Helpers/CmdTests.cs | 4 +-
.../Helpers/CommandTests.cs | 12 +-
.../Helpers/DockerTests.cs | 2 +-
.../Helpers/DotNetTestResultsTests.cs | 6 +-
.../Helpers/DotNetTests.cs | 8 +-
.../Helpers/EnvironmentContextTests.cs | 2 +-
.../Helpers/FtpTests.cs | 2 +-
.../Helpers/GitHubRepositoryInfoTests.cs | 4 +-
.../Helpers/GitTests.cs | 6 +-
.../Helpers/HexTests.cs | 4 +-
.../Helpers/InstallerTests.cs | 2 +-
.../Helpers/Md5Tests.cs | 2 +-
.../Helpers/NodeTests.cs | 2 +-
.../Helpers/PowershellTests.cs | 4 +-
.../Helpers/Sha1Tests.cs | 2 +-
.../Helpers/Sha256Tests.cs | 2 +-
.../Helpers/Sha384Tests.cs | 2 +-
.../Helpers/Sha512Tests.cs | 2 +-
.../Helpers/ZipTests.cs | 8 +-
test/ModularPipelines.UnitTests/HttpTests.cs | 6 +-
.../IgnoredFailureTests.cs | 2 +-
.../JsonSerializationTests.cs | 6 +-
.../KeyValueTests.cs | 6 +-
.../Models/RequirementDecisionTests.cs | 12 +-
.../Models/SkipDecisionTests.cs | 12 +-
.../ModuleLoggerTests.cs | 4 +-
.../NotInParallelTests.cs | 2 +-
.../NotInParallelTestsWithConstraintKeys.cs | 2 +-
...ParallelTestsWithMultipleConstraintKeys.cs | 4 +-
.../ParallelLimiterTests.cs | 4 +-
.../PipelineRequirementTests.cs | 2 +-
test/ModularPipelines.UnitTests/RetryTests.cs | 8 +-
.../RunnableCategoryTests.cs | 4 +-
.../SkippedModuleTests.cs | 2 +-
.../SmartCollapsableLoggingInternalTests.cs | 2 +-
.../SubModuleTests.cs | 20 +-
.../TimedDependencyTests.cs | 2 +-
.../TrxParsingTests.cs | 8 +-
848 files changed, 7002 insertions(+), 6266 deletions(-)
create mode 100644 src/ModularPipelines.Development.Analyzers/AnalyzerReleases.Shipped.md
create mode 100644 src/ModularPipelines.Development.Analyzers/AnalyzerReleases.Unshipped.md
create mode 100644 src/ModularPipelines.Development.Analyzers/ModularPipelines.Development.Analyzers.csproj
create mode 100644 src/ModularPipelines.Development.Analyzers/Properties/launchSettings.json
create mode 100644 src/ModularPipelines.Development.Analyzers/Readme.md
create mode 100644 src/ModularPipelines.Development.Analyzers/Resources.Designer.cs
create mode 100644 src/ModularPipelines.Development.Analyzers/Resources.resx
create mode 100644 src/ModularPipelines.Development.Analyzers/VirtualCommandAnalyzer.cs
create mode 100644 src/ModularPipelines.Development.Analyzers/VirtualCommandCodeFixProvider.cs
create mode 100644 src/ModularPipelines.Development.Analyzers/VirtualSwitchPropertyAnalyzer.cs
create mode 100644 src/ModularPipelines.Development.Analyzers/VirtualSwitchPropertyCodeFixProvider.cs
create mode 100644 src/ModularPipelines/Attributes/ICommandSwitchAttribute.cs
diff --git a/Directory.Build.props b/Directory.Build.props
index 4fdb7c6e6b..2791e7acd4 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -32,4 +32,8 @@
+
+
+
+
\ No newline at end of file
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 917f902efa..c28fb66bb2 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -45,6 +45,9 @@
+
+
+
diff --git a/ModularPipelines.sln b/ModularPipelines.sln
index 1107a756b5..d3f73dbc63 100644
--- a/ModularPipelines.sln
+++ b/ModularPipelines.sln
@@ -54,6 +54,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModularPipelines.WinGet", "
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModularPipelines.TestHelpers", "test\ModularPipelines.TestHelpers\ModularPipelines.TestHelpers.csproj", "{5C0A5600-4CFF-49C1-8E20-40C28F870C28}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Analyzers", "Analyzers", "{22EEBEC3-F653-4054-A282-3C7F818186CC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModularPipelines.Development.Analyzers", "src\ModularPipelines.Development.Analyzers\ModularPipelines.Development.Analyzers.csproj", "{B5D34368-1061-4621-ABC0-27677BF3FB1B}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -152,6 +156,10 @@ Global
{5C0A5600-4CFF-49C1-8E20-40C28F870C28}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5C0A5600-4CFF-49C1-8E20-40C28F870C28}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5C0A5600-4CFF-49C1-8E20-40C28F870C28}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B5D34368-1061-4621-ABC0-27677BF3FB1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B5D34368-1061-4621-ABC0-27677BF3FB1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B5D34368-1061-4621-ABC0-27677BF3FB1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B5D34368-1061-4621-ABC0-27677BF3FB1B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -180,6 +188,7 @@ Global
{4F9D2311-5B31-4A4C-BA8F-7A21B3E36C66} = {87E9D101-2B57-4D04-9488-CF8E720AF379}
{AA41FF20-E41B-4219-A0CE-55007105C2D2} = {87E9D101-2B57-4D04-9488-CF8E720AF379}
{5C0A5600-4CFF-49C1-8E20-40C28F870C28} = {F213898F-1E32-48F1-AB8C-83D2BD01A93B}
+ {B5D34368-1061-4621-ABC0-27677BF3FB1B} = {22EEBEC3-F653-4054-A282-3C7F818186CC}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A5905A5D-B4E1-4A7A-9279-0283D86A9F7F}
diff --git a/src/ModularPipelines.Build/Attributes/SkipIfDependencyPullRequest.cs b/src/ModularPipelines.Build/Attributes/SkipIfDependencyPullRequest.cs
index 11fd02204a..e7d0b540b6 100644
--- a/src/ModularPipelines.Build/Attributes/SkipIfDependencyPullRequest.cs
+++ b/src/ModularPipelines.Build/Attributes/SkipIfDependencyPullRequest.cs
@@ -9,7 +9,7 @@ public class SkipIfDependencyPullRequest : MandatoryRunConditionAttribute
public override async Task Condition(IPipelineHookContext pipelineContext)
{
var gitHubEnvironmentVariables = pipelineContext.GitHub().EnvironmentVariables;
-
+
if (gitHubEnvironmentVariables.EventName != "pull_request")
{
return true;
@@ -18,7 +18,7 @@ public override async Task Condition(IPipelineHookContext pipelineContext)
var prNumber = int.Parse(gitHubEnvironmentVariables.RefName!.Split('/').First());
var pr = await pipelineContext.GitHub().Client.PullRequest.Get(int.Parse(gitHubEnvironmentVariables.RepositoryId!), prNumber);
-
+
return pr.Labels.All(x => x.Name != "dependencies");
}
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Build/GitHelpers.cs b/src/ModularPipelines.Build/GitHelpers.cs
index 01fd9ea621..5f59209f0a 100644
--- a/src/ModularPipelines.Build/GitHelpers.cs
+++ b/src/ModularPipelines.Build/GitHelpers.cs
@@ -74,7 +74,7 @@ await context.Git().Commands.Commit(new GitCommitOptions
{
Message = message,
}, token: cancellationToken);
-
+
var author = context.GitHub().EnvironmentVariables.Actor ?? "thomhurst";
var arguments = new List { $"https://x-access-token:{token}@github.com/{author}/ModularPipelines.git" };
diff --git a/src/ModularPipelines.Build/Modules/CodeFormattedNicelyModule.cs b/src/ModularPipelines.Build/Modules/CodeFormattedNicelyModule.cs
index b831f48947..39b9f86fe0 100644
--- a/src/ModularPipelines.Build/Modules/CodeFormattedNicelyModule.cs
+++ b/src/ModularPipelines.Build/Modules/CodeFormattedNicelyModule.cs
@@ -37,7 +37,7 @@ protected override Task ShouldSkip(IPipelineContext context)
{
return SkipDecision.Skip("Not a pull request").AsTask();
}
-
+
if (string.IsNullOrEmpty(_githubSettings.Value.StandardToken))
{
return SkipDecision.Skip("No authentication token for git").AsTask();
diff --git a/src/ModularPipelines.Build/Modules/CreateReleaseModule.cs b/src/ModularPipelines.Build/Modules/CreateReleaseModule.cs
index 2eaa457b43..53ac28e7fa 100644
--- a/src/ModularPipelines.Build/Modules/CreateReleaseModule.cs
+++ b/src/ModularPipelines.Build/Modules/CreateReleaseModule.cs
@@ -40,7 +40,7 @@ protected override async Task ShouldIgnoreFailures(IPipelineContext contex
protected override async Task ShouldSkip(IPipelineContext context)
{
await Task.CompletedTask;
-
+
if (!_publishSettings.Value.ShouldPublish)
{
return "The 'ShouldPublish' flag is false";
@@ -53,7 +53,7 @@ protected override async Task ShouldSkip(IPipelineContext context)
protected override async Task ExecuteAsync(IPipelineContext context, CancellationToken cancellationToken)
{
var versionInfoResult = await GetModule();
-
+
return await context.GitHub().Client.Repository.Release.Create(long.Parse(context.GitHub().EnvironmentVariables.RepositoryId!),
new NewRelease($"v{versionInfoResult.Value}")
{
diff --git a/src/ModularPipelines.Build/Modules/DependabotCommitsModule.cs b/src/ModularPipelines.Build/Modules/DependabotCommitsModule.cs
index b5ee683db1..7ada96ada7 100644
--- a/src/ModularPipelines.Build/Modules/DependabotCommitsModule.cs
+++ b/src/ModularPipelines.Build/Modules/DependabotCommitsModule.cs
@@ -15,7 +15,7 @@ public class DependabotCommitsModule : Module>
protected override async Task?> ExecuteAsync(IPipelineContext context, CancellationToken cancellationToken)
{
var repositoryInfo = context.GitHub().RepositoryInfo;
-
+
var latestRelease = await context.GitHub().Client.Repository.Release.GetLatest(repositoryInfo.Owner, repositoryInfo.RepositoryName);
var commitsSinceRelease = await context.GitHub().Client.Repository.Commit.GetAll(repositoryInfo.Owner,
@@ -24,14 +24,14 @@ public class DependabotCommitsModule : Module>
Sha = "main",
Since = latestRelease.CreatedAt.AddMinutes(-2),
});
-
+
var commits = commitsSinceRelease
.Where(x => x.Author.Login.StartsWith("dependabot") || x.Author.Login.StartsWith("renovate-bot"))
.Select(x => x.Commit.Message.Split(Environment.NewLine))
.Select(x => x.FirstOrDefault())
.OfType()
.ToList();
-
+
context.Logger.LogInformation("Commits: {Commits}", string.Join(Environment.NewLine, commits));
return commits;
diff --git a/src/ModularPipelines.Build/Modules/FindProjectsModule.cs b/src/ModularPipelines.Build/Modules/FindProjectsModule.cs
index 83324810cb..3477d1abf1 100644
--- a/src/ModularPipelines.Build/Modules/FindProjectsModule.cs
+++ b/src/ModularPipelines.Build/Modules/FindProjectsModule.cs
@@ -48,6 +48,11 @@ private bool GetProjectsPredicate(File file, IPipelineContext context)
return true;
}
+ if (path.Contains("Development"))
+ {
+ return false;
+ }
+
if (path.Contains("ModularPipelines.Analyzers"))
{
return false;
diff --git a/src/ModularPipelines.Build/Modules/NugetVersionGeneratorModule.cs b/src/ModularPipelines.Build/Modules/NugetVersionGeneratorModule.cs
index 7f9c18aa29..602f40b8e3 100644
--- a/src/ModularPipelines.Build/Modules/NugetVersionGeneratorModule.cs
+++ b/src/ModularPipelines.Build/Modules/NugetVersionGeneratorModule.cs
@@ -22,8 +22,8 @@ public NugetVersionGeneratorModule(IOptions publishSettings)
{
var gitVersionInformation = await context.Git().Versioning.GetGitVersioningInformation();
- var version = _publishSettings.Value.IsAlpha
- ? $"{gitVersionInformation.FullSemVer}-alpha{gitVersionInformation.CommitsSinceVersionSourcePadded!}"
+ var version = _publishSettings.Value.IsAlpha
+ ? $"{gitVersionInformation.FullSemVer}-alpha{gitVersionInformation.CommitsSinceVersionSourcePadded!}"
: gitVersionInformation.FullSemVer!;
context.LogOnPipelineEnd($"Generated Version Number: {version}");
diff --git a/src/ModularPipelines.Build/Modules/PrintEnvironmentVariablesModule.cs b/src/ModularPipelines.Build/Modules/PrintEnvironmentVariablesModule.cs
index 0ff53d3dd4..e0629689f8 100644
--- a/src/ModularPipelines.Build/Modules/PrintEnvironmentVariablesModule.cs
+++ b/src/ModularPipelines.Build/Modules/PrintEnvironmentVariablesModule.cs
@@ -11,14 +11,14 @@ public class PrintEnvironmentVariablesModule : Module
protected override async Task?> ExecuteAsync(IPipelineContext context, CancellationToken cancellationToken)
{
await Task.CompletedTask;
-
+
context.Logger.LogInformation("Environment Variables: {EnvVars}", JsonSerializer.Serialize(context.Environment.EnvironmentVariables.GetEnvironmentVariables(), new JsonSerializerOptions
{
ReferenceHandler = ReferenceHandler.IgnoreCycles,
IgnoreReadOnlyFields = true,
WriteIndented = true,
}));
-
+
return null;
}
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Build/Modules/PrintGitInformationModule.cs b/src/ModularPipelines.Build/Modules/PrintGitInformationModule.cs
index 2850f138e3..3ae2818733 100644
--- a/src/ModularPipelines.Build/Modules/PrintGitInformationModule.cs
+++ b/src/ModularPipelines.Build/Modules/PrintGitInformationModule.cs
@@ -12,14 +12,14 @@ public class PrintGitInformationModule : Module
protected override async Task?> ExecuteAsync(IPipelineContext context, CancellationToken cancellationToken)
{
await Task.CompletedTask;
-
+
context.Logger.LogInformation("Git Info: {GitInfo}", JsonSerializer.Serialize(context.Git().Information, new JsonSerializerOptions
{
ReferenceHandler = ReferenceHandler.IgnoreCycles,
IgnoreReadOnlyFields = true,
WriteIndented = true,
}));
-
+
return null;
}
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Build/Modules/WaitForOtherOperatingSystemBuilds.cs b/src/ModularPipelines.Build/Modules/WaitForOtherOperatingSystemBuilds.cs
index 91dbf89c20..c1ff2f95ab 100644
--- a/src/ModularPipelines.Build/Modules/WaitForOtherOperatingSystemBuilds.cs
+++ b/src/ModularPipelines.Build/Modules/WaitForOtherOperatingSystemBuilds.cs
@@ -36,7 +36,7 @@ protected override Task ShouldSkip(IPipelineContext context)
{
HeadSha = commitSha,
});
-
+
var macRuns = await context.GitHub().Client.Actions.Workflows.Runs.ListByWorkflow(BuildConstants.Owner, BuildConstants.RepositoryName, "dotnet-mac.yml", new WorkflowRunsRequest
{
HeadSha = commitSha,
diff --git a/src/ModularPipelines.Build/Program.cs b/src/ModularPipelines.Build/Program.cs
index 8fa2866d64..13451627bd 100644
--- a/src/ModularPipelines.Build/Program.cs
+++ b/src/ModularPipelines.Build/Program.cs
@@ -52,14 +52,14 @@ await PipelineHostBuilder.Create()
collection.AddSingleton(sp =>
{
var githubSettings = sp.GetRequiredService>();
-
+
var githubToken = githubSettings.Value.StandardToken;
if (string.IsNullOrEmpty(githubToken))
{
githubToken = "token";
}
-
+
return new GitHubClient(new ProductHeaderValue("ModularPipelinesBuild"),
new InMemoryCredentialStore(new Credentials(githubToken)));
});
diff --git a/src/ModularPipelines.Chocolatey/Choco.cs b/src/ModularPipelines.Chocolatey/Choco.cs
index e71c485266..9187ac21bf 100644
--- a/src/ModularPipelines.Chocolatey/Choco.cs
+++ b/src/ModularPipelines.Chocolatey/Choco.cs
@@ -15,243 +15,243 @@ public Choco(ICommand command)
_command = command;
}
- public async Task ApiKey(ApiKeyOptions? options = default, CancellationToken token = default)
+ public virtual async Task ApiKey(ApiKeyOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new ApiKeyOptions(), token);
}
- public async Task SetApiKey(SetApiKeyOptions? options = default, CancellationToken token = default)
+ public virtual async Task SetApiKey(SetApiKeyOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SetApiKeyOptions(), token);
}
- public async Task Cache(CacheOptions? options = default, CancellationToken token = default)
+ public virtual async Task Cache(CacheOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new CacheOptions(), token);
}
- public async Task CacheRemove(CacheRemoveOptions? options = default,
+ public virtual async Task CacheRemove(CacheRemoveOptions? options = default,
CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new CacheRemoveOptions(), token);
}
- public async Task Config(ConfigOptions? options = default, CancellationToken token = default)
+ public virtual async Task Config(ConfigOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new ConfigOptions(), token);
}
- public async Task ConfigGet(ConfigGetOptions? options = default, CancellationToken token = default)
+ public virtual async Task ConfigGet(ConfigGetOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new ConfigGetOptions(), token);
}
- public async Task ConfigSet(ConfigSetOptions? options = default, CancellationToken token = default)
+ public virtual async Task ConfigSet(ConfigSetOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new ConfigSetOptions(), token);
}
- public async Task ConfigUnset(ConfigUnsetOptions? options = default,
+ public virtual async Task ConfigUnset(ConfigUnsetOptions? options = default,
CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new ConfigUnsetOptions(), token);
}
- public async Task Convert(ConvertOptions options, CancellationToken token = default)
+ public virtual async Task Convert(ConvertOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
- public async Task Download(DownloadOptions options, CancellationToken token = default)
+ public virtual async Task Download(DownloadOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
- public async Task Export(ExportOptions? options = default, CancellationToken token = default)
+ public virtual async Task Export(ExportOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new ExportOptions(), token);
}
- public async Task Feature(FeatureOptions? options = default, CancellationToken token = default)
+ public virtual async Task Feature(FeatureOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new FeatureOptions(), token);
}
- public async Task FeatureDisable(FeatureDisableOptions? options = default,
+ public virtual async Task FeatureDisable(FeatureDisableOptions? options = default,
CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new FeatureDisableOptions(), token);
}
- public async Task FeatureEnable(FeatureEnableOptions? options = default,
+ public virtual async Task FeatureEnable(FeatureEnableOptions? options = default,
CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new FeatureEnableOptions(), token);
}
- public async Task Help(HelpOptions? options = default, CancellationToken token = default)
+ public virtual async Task Help(HelpOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new HelpOptions(), token);
}
- public async Task Info(InfoOptions? options = default, CancellationToken token = default)
+ public virtual async Task Info(InfoOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new InfoOptions(), token);
}
- public async Task Optimize(OptimizeOptions? options = default, CancellationToken token = default)
+ public virtual async Task Optimize(OptimizeOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new OptimizeOptions(), token);
}
- public async Task Install(InstallOptions options, CancellationToken token = default)
+ public virtual async Task Install(InstallOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
- public async Task List(ListOptions options, CancellationToken token = default)
+ public virtual async Task List(ListOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
- public async Task New(NewOptions options, CancellationToken token = default)
+ public virtual async Task New(NewOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
- public async Task Outdated(OutdatedOptions? options = default, CancellationToken token = default)
+ public virtual async Task Outdated(OutdatedOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new OutdatedOptions(), token);
}
- public async Task Pack(PackOptions options, CancellationToken token = default)
+ public virtual async Task Pack(PackOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
- public async Task Pin(PinOptions? options = default, CancellationToken token = default)
+ public virtual async Task Pin(PinOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new PinOptions(), token);
}
- public async Task PinAdd(PinAddOptions? options = default, CancellationToken token = default)
+ public virtual async Task PinAdd(PinAddOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new PinAddOptions(), token);
}
- public async Task PinRemove(PinRemoveOptions? options = default, CancellationToken token = default)
+ public virtual async Task PinRemove(PinRemoveOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new PinRemoveOptions(), token);
}
- public async Task Push(PushOptions options, CancellationToken token = default)
+ public virtual async Task Push(PushOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
- public async Task Find(FindOptions options, CancellationToken token = default)
+ public virtual async Task Find(FindOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
- public async Task Search(SearchOptions options, CancellationToken token = default)
+ public virtual async Task Search(SearchOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
- public async Task Apikey(ApiKeyOptions? options = default, CancellationToken token = default)
+ public virtual async Task Apikey(ApiKeyOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new ApiKeyOptions(), token);
}
- public async Task Setapikey(SetApiKeyOptions? options = default, CancellationToken token = default)
+ public virtual async Task Setapikey(SetApiKeyOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SetApiKeyOptions(), token);
}
- public async Task Source(SourceOptions? options = default, CancellationToken token = default)
+ public virtual async Task Source(SourceOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SourceOptions(), token);
}
- public async Task SourceAdd(SourceAddOptions? options = default, CancellationToken token = default)
+ public virtual async Task SourceAdd(SourceAddOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SourceAddOptions(), token);
}
- public async Task SourceRemove(SourceRemoveOptions? options = default,
+ public virtual async Task SourceRemove(SourceRemoveOptions? options = default,
CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SourceRemoveOptions(), token);
}
- public async Task SourceDisable(SourceDisableOptions? options = default,
+ public virtual async Task SourceDisable(SourceDisableOptions? options = default,
CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SourceDisableOptions(), token);
}
- public async Task SourceEnable(SourceEnableOptions? options = default,
+ public virtual async Task SourceEnable(SourceEnableOptions? options = default,
CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SourceEnableOptions(), token);
}
- public async Task Sources(SourcesOptions? options = default, CancellationToken token = default)
+ public virtual async Task Sources(SourcesOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SourcesOptions(), token);
}
- public async Task SourcesAdd(SourcesAddOptions? options = default, CancellationToken token = default)
+ public virtual async Task SourcesAdd(SourcesAddOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SourcesAddOptions(), token);
}
- public async Task SourcesRemove(SourcesRemoveOptions? options = default,
+ public virtual async Task SourcesRemove(SourcesRemoveOptions? options = default,
CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SourcesRemoveOptions(), token);
}
- public async Task SourcesDisable(SourcesDisableOptions? options = default,
+ public virtual async Task SourcesDisable(SourcesDisableOptions? options = default,
CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SourcesDisableOptions(), token);
}
- public async Task SourcesEnable(SourcesEnableOptions? options = default,
+ public virtual async Task SourcesEnable(SourcesEnableOptions? options = default,
CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SourcesEnableOptions(), token);
}
- public async Task Support(SupportOptions? options = default, CancellationToken token = default)
+ public virtual async Task Support(SupportOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SupportOptions(), token);
}
- public async Task Sync(SyncOptions? options = default, CancellationToken token = default)
+ public virtual async Task Sync(SyncOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new SyncOptions(), token);
}
- public async Task Template(TemplateOptions? options = default, CancellationToken token = default)
+ public virtual async Task Template(TemplateOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new TemplateOptions(), token);
}
- public async Task TemplateInfo(TemplateInfoOptions? options = default,
+ public virtual async Task TemplateInfo(TemplateInfoOptions? options = default,
CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new TemplateInfoOptions(), token);
}
- public async Task Uninstall(UninstallOptions options, CancellationToken token = default)
+ public virtual async Task Uninstall(UninstallOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
- public async Task Upgrade(UpgradeOptions options, CancellationToken token = default)
+ public virtual async Task Upgrade(UpgradeOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
diff --git a/src/ModularPipelines.Chocolatey/Options/ApikeyOptions.cs b/src/ModularPipelines.Chocolatey/Options/ApikeyOptions.cs
index 5b1b23d94c..bc5f1169dc 100644
--- a/src/ModularPipelines.Chocolatey/Options/ApikeyOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/ApikeyOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Chocolatey.Options;
public record ApiKeyOptions : ChocoOptions
{
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--api-key")]
- public string? ApiKey { get; set; }
+ public virtual string? ApiKey { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/CacheOptions.cs b/src/ModularPipelines.Chocolatey/Options/CacheOptions.cs
index eb924a31f4..b8c5699097 100644
--- a/src/ModularPipelines.Chocolatey/Options/CacheOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/CacheOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Chocolatey.Options;
public record CacheOptions : ChocoOptions
{
[BooleanCommandSwitch("--expired")]
- public bool? Expired { get; set; }
+ public virtual bool? Expired { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/CacheRemoveOptions.cs b/src/ModularPipelines.Chocolatey/Options/CacheRemoveOptions.cs
index c787668215..5f19fa8d2d 100644
--- a/src/ModularPipelines.Chocolatey/Options/CacheRemoveOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/CacheRemoveOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Chocolatey.Options;
public record CacheRemoveOptions : ChocoOptions
{
[BooleanCommandSwitch("--expired")]
- public bool? Expired { get; set; }
+ public virtual bool? Expired { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/ChocoOptions.cs b/src/ModularPipelines.Chocolatey/Options/ChocoOptions.cs
index 2799aae550..c98e9652e4 100644
--- a/src/ModularPipelines.Chocolatey/Options/ChocoOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/ChocoOptions.cs
@@ -8,77 +8,77 @@ namespace ModularPipelines.Chocolatey.Options;
public record ChocoOptions() : CommandLineToolOptions("choco")
{
[BooleanCommandSwitch("--help")]
- public bool? Help { get; set; }
+ public virtual bool? Help { get; set; }
[BooleanCommandSwitch("--online")]
- public bool? Online { get; set; }
+ public virtual bool? Online { get; set; }
[BooleanCommandSwitch("--debug")]
- public bool? Debug { get; set; }
+ public virtual bool? Debug { get; set; }
[BooleanCommandSwitch("--verbose")]
- public bool? Verbose { get; set; }
+ public virtual bool? Verbose { get; set; }
[BooleanCommandSwitch("--trace")]
- public bool? Trace { get; set; }
+ public virtual bool? Trace { get; set; }
[BooleanCommandSwitch("--no-color")]
- public bool? NoColor { get; set; }
+ public virtual bool? NoColor { get; set; }
[BooleanCommandSwitch("--accept-license")]
- public bool? AcceptLicense { get; set; }
+ public virtual bool? AcceptLicense { get; set; }
[BooleanCommandSwitch("--confirm")]
- public bool? Confirm { get; set; } = true;
+ public virtual bool? Confirm { get; set; } = true;
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
[BooleanCommandSwitch("--what-if")]
- public bool? WhatIf { get; set; }
+ public virtual bool? WhatIf { get; set; }
[BooleanCommandSwitch("--limit-output")]
- public bool? LimitOutput { get; set; }
+ public virtual bool? LimitOutput { get; set; }
[CommandSwitch("--execution-timeout")]
- public string? ExecutionTimeout { get; set; }
+ public virtual string? ExecutionTimeout { get; set; }
[CommandSwitch("--cache-location")]
- public string? CacheLocation { get; set; }
+ public virtual string? CacheLocation { get; set; }
[BooleanCommandSwitch("--allow-unofficial-build")]
- public bool? AllowUnofficialBuild { get; set; }
+ public virtual bool? AllowUnofficialBuild { get; set; }
[BooleanCommandSwitch("--fail-on-error-output")]
- public bool? FailOnErrorOutput { get; set; }
+ public virtual bool? FailOnErrorOutput { get; set; }
[BooleanCommandSwitch("--use-system-powershell")]
- public bool? UseSystemPowershell { get; set; }
+ public virtual bool? UseSystemPowershell { get; set; }
[BooleanCommandSwitch("--no-progress")]
- public bool? NoProgress { get; set; }
+ public virtual bool? NoProgress { get; set; }
[CommandSwitch("--proxy")]
- public string? Proxy { get; set; }
+ public virtual string? Proxy { get; set; }
[CommandSwitch("--proxy-user")]
- public string? ProxyUser { get; set; }
+ public virtual string? ProxyUser { get; set; }
[CommandSwitch("--proxy-password")]
- public string? ProxyPassword { get; set; }
+ public virtual string? ProxyPassword { get; set; }
[CommandSwitch("--proxy-bypass-list")]
- public string? ProxyBypassList { get; set; }
+ public virtual string? ProxyBypassList { get; set; }
[BooleanCommandSwitch("--proxy-bypass-on-local")]
- public bool? ProxyBypassOnLocal { get; set; }
+ public virtual bool? ProxyBypassOnLocal { get; set; }
[CommandSwitch("--log-file")]
- public string? LogFile { get; set; }
+ public virtual string? LogFile { get; set; }
[BooleanCommandSwitch("--skip-compatibility-checks")]
- public bool? SkipCompatibilityChecks { get; set; }
+ public virtual bool? SkipCompatibilityChecks { get; set; }
[BooleanCommandSwitch("--ignore-http-cache")]
- public bool? IgnoreHttpCache { get; set; }
+ public virtual bool? IgnoreHttpCache { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/ConfigGetOptions.cs b/src/ModularPipelines.Chocolatey/Options/ConfigGetOptions.cs
index 3c5b256c82..e022587c99 100644
--- a/src/ModularPipelines.Chocolatey/Options/ConfigGetOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/ConfigGetOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Chocolatey.Options;
public record ConfigGetOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--value")]
- public string? Value { get; set; }
+ public virtual string? Value { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/ConfigOptions.cs b/src/ModularPipelines.Chocolatey/Options/ConfigOptions.cs
index ce9260c011..f544f7e518 100644
--- a/src/ModularPipelines.Chocolatey/Options/ConfigOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/ConfigOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Chocolatey.Options;
public record ConfigOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--value")]
- public string? Value { get; set; }
+ public virtual string? Value { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/ConfigSetOptions.cs b/src/ModularPipelines.Chocolatey/Options/ConfigSetOptions.cs
index 7bf97b1b6e..01dececbec 100644
--- a/src/ModularPipelines.Chocolatey/Options/ConfigSetOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/ConfigSetOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Chocolatey.Options;
public record ConfigSetOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--value")]
- public string? Value { get; set; }
+ public virtual string? Value { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/ConfigUnsetOptions.cs b/src/ModularPipelines.Chocolatey/Options/ConfigUnsetOptions.cs
index 51591084f0..1e62bed8b5 100644
--- a/src/ModularPipelines.Chocolatey/Options/ConfigUnsetOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/ConfigUnsetOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Chocolatey.Options;
public record ConfigUnsetOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--value")]
- public string? Value { get; set; }
+ public virtual string? Value { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/ConvertOptions.cs b/src/ModularPipelines.Chocolatey/Options/ConvertOptions.cs
index e27a8789f6..8619128806 100644
--- a/src/ModularPipelines.Chocolatey/Options/ConvertOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/ConvertOptions.cs
@@ -10,14 +10,14 @@ public record ConvertOptions(
) : ChocoOptions
{
[CommandSwitch("--to-format")]
- public string? ToFormat { get; set; }
+ public virtual string? ToFormat { get; set; }
[BooleanCommandSwitch("--includeall")]
- public bool? Includeall { get; set; }
+ public virtual bool? Includeall { get; set; }
[BooleanCommandSwitch("--ignore-dependencies")]
- public bool? IgnoreDependencies { get; set; }
+ public virtual bool? IgnoreDependencies { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/DownloadOptions.cs b/src/ModularPipelines.Chocolatey/Options/DownloadOptions.cs
index da04f9c2a2..c6d8798237 100644
--- a/src/ModularPipelines.Chocolatey/Options/DownloadOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/DownloadOptions.cs
@@ -10,71 +10,71 @@ public record DownloadOptions(
) : ChocoOptions
{
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[BooleanCommandSwitch("--prerelease")]
- public bool? Prerelease { get; set; }
+ public virtual bool? Prerelease { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--output-directory")]
- public string? OutputDirectory { get; set; }
+ public virtual string? OutputDirectory { get; set; }
[BooleanCommandSwitch("--ignore-dependencies")]
- public bool? IgnoreDependencies { get; set; }
+ public virtual bool? IgnoreDependencies { get; set; }
[BooleanCommandSwitch("--installed-packages")]
- public bool? InstalledPackages { get; set; }
+ public virtual bool? InstalledPackages { get; set; }
[BooleanCommandSwitch("--ignore-unfound-packages")]
- public bool? IgnoreUnfoundPackages { get; set; }
+ public virtual bool? IgnoreUnfoundPackages { get; set; }
[BooleanCommandSwitch("--disable-package-repository-optimizations")]
- public bool? DisablePackageRepositoryOptimizations { get; set; }
+ public virtual bool? DisablePackageRepositoryOptimizations { get; set; }
[BooleanCommandSwitch("--internalize")]
- public bool? Internalize { get; set; }
+ public virtual bool? Internalize { get; set; }
[CommandSwitch("--resources-location")]
- public string? ResourcesLocation { get; set; }
+ public virtual string? ResourcesLocation { get; set; }
[CommandSwitch("--download-location")]
- public string? DownloadLocation { get; set; }
+ public virtual string? DownloadLocation { get; set; }
[BooleanCommandSwitch("--internalize-all-urls")]
- public bool? InternalizeAllUrls { get; set; }
+ public virtual bool? InternalizeAllUrls { get; set; }
[BooleanCommandSwitch("--append-use-original-location")]
- public bool? AppendUseOriginalLocation { get; set; }
+ public virtual bool? AppendUseOriginalLocation { get; set; }
[BooleanCommandSwitch("--skip-download-cache")]
- public bool? SkipDownloadCache { get; set; }
+ public virtual bool? SkipDownloadCache { get; set; }
[BooleanCommandSwitch("--use-download-cache")]
- public bool? UseDownloadCache { get; set; }
+ public virtual bool? UseDownloadCache { get; set; }
[BooleanCommandSwitch("--skip-virus-check")]
- public bool? SkipVirusCheck { get; set; }
+ public virtual bool? SkipVirusCheck { get; set; }
[BooleanCommandSwitch("--virus-check")]
- public bool? VirusCheck { get; set; }
+ public virtual bool? VirusCheck { get; set; }
[CommandSwitch("--virus-positives-minimum")]
- public string? VirusPositivesMinimum { get; set; }
+ public virtual string? VirusPositivesMinimum { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/ExportOptions.cs b/src/ModularPipelines.Chocolatey/Options/ExportOptions.cs
index ad2c1a1a05..9c0834b19e 100644
--- a/src/ModularPipelines.Chocolatey/Options/ExportOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/ExportOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Chocolatey.Options;
public record ExportOptions : ChocoOptions
{
[CommandSwitch("--output-file-path")]
- public string? OutputFilePath { get; set; }
+ public virtual string? OutputFilePath { get; set; }
[BooleanCommandSwitch("--include-version")]
- public bool? IncludeVersion { get; set; }
+ public virtual bool? IncludeVersion { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/FeatureDisableOptions.cs b/src/ModularPipelines.Chocolatey/Options/FeatureDisableOptions.cs
index a7312d5d38..f44e7ad1aa 100644
--- a/src/ModularPipelines.Chocolatey/Options/FeatureDisableOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/FeatureDisableOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Chocolatey.Options;
public record FeatureDisableOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/FeatureEnableOptions.cs b/src/ModularPipelines.Chocolatey/Options/FeatureEnableOptions.cs
index 07445cb50b..dc89d4d7e8 100644
--- a/src/ModularPipelines.Chocolatey/Options/FeatureEnableOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/FeatureEnableOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Chocolatey.Options;
public record FeatureEnableOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/FeatureOptions.cs b/src/ModularPipelines.Chocolatey/Options/FeatureOptions.cs
index 7eb2338e9c..b880a5c989 100644
--- a/src/ModularPipelines.Chocolatey/Options/FeatureOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/FeatureOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Chocolatey.Options;
public record FeatureOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/FindOptions.cs b/src/ModularPipelines.Chocolatey/Options/FindOptions.cs
index 60ebf67d63..d3a8f63a18 100644
--- a/src/ModularPipelines.Chocolatey/Options/FindOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/FindOptions.cs
@@ -10,74 +10,74 @@ public record FindOptions(
) : ChocoOptions
{
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[BooleanCommandSwitch("--id-only")]
- public bool? IdOnly { get; set; }
+ public virtual bool? IdOnly { get; set; }
[BooleanCommandSwitch("--prerelease")]
- public bool? Prerelease { get; set; }
+ public virtual bool? Prerelease { get; set; }
[BooleanCommandSwitch("--include-programs")]
- public bool? IncludePrograms { get; set; }
+ public virtual bool? IncludePrograms { get; set; }
[BooleanCommandSwitch("--all-versions")]
- public bool? AllVersions { get; set; }
+ public virtual bool? AllVersions { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--page")]
- public string? Page { get; set; }
+ public virtual string? Page { get; set; }
[CommandSwitch("--page-size")]
- public string? PageSize { get; set; }
+ public virtual string? PageSize { get; set; }
[BooleanCommandSwitch("--exact")]
- public bool? Exact { get; set; }
+ public virtual bool? Exact { get; set; }
[BooleanCommandSwitch("--by-id-only")]
- public bool? ByIdOnly { get; set; }
+ public virtual bool? ByIdOnly { get; set; }
[BooleanCommandSwitch("--by-tags-only")]
- public bool? ByTagsOnly { get; set; }
+ public virtual bool? ByTagsOnly { get; set; }
[BooleanCommandSwitch("--id-starts-with")]
- public bool? IdStartsWith { get; set; }
+ public virtual bool? IdStartsWith { get; set; }
[BooleanCommandSwitch("--order-by-popularity")]
- public bool? OrderByPopularity { get; set; }
+ public virtual bool? OrderByPopularity { get; set; }
[BooleanCommandSwitch("--approved-only")]
- public bool? ApprovedOnly { get; set; }
+ public virtual bool? ApprovedOnly { get; set; }
[BooleanCommandSwitch("--download-cache-only")]
- public bool? DownloadCacheOnly { get; set; }
+ public virtual bool? DownloadCacheOnly { get; set; }
[BooleanCommandSwitch("--not-broken")]
- public bool? NotBroken { get; set; }
+ public virtual bool? NotBroken { get; set; }
[BooleanCommandSwitch("--detailed")]
- public bool? Detailed { get; set; }
+ public virtual bool? Detailed { get; set; }
[BooleanCommandSwitch("--disable-package-repository-optimizations")]
- public bool? DisablePackageRepositoryOptimizations { get; set; }
+ public virtual bool? DisablePackageRepositoryOptimizations { get; set; }
[BooleanCommandSwitch("--show-audit-info")]
- public bool? ShowAuditInfo { get; set; }
+ public virtual bool? ShowAuditInfo { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/InfoOptions.cs b/src/ModularPipelines.Chocolatey/Options/InfoOptions.cs
index c894468b68..e45abe63bb 100644
--- a/src/ModularPipelines.Chocolatey/Options/InfoOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/InfoOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record InfoOptions : ChocoOptions
{
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[BooleanCommandSwitch("--local-only")]
- public bool? LocalOnly { get; set; }
+ public virtual bool? LocalOnly { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[BooleanCommandSwitch("--prerelease")]
- public bool? Prerelease { get; set; }
+ public virtual bool? Prerelease { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[BooleanCommandSwitch("--disable-package-repository-optimizations")]
- public bool? DisablePackageRepositoryOptimizations { get; set; }
+ public virtual bool? DisablePackageRepositoryOptimizations { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/InstallOptions.cs b/src/ModularPipelines.Chocolatey/Options/InstallOptions.cs
index 7463a2a5ad..5e4e9cdd3a 100644
--- a/src/ModularPipelines.Chocolatey/Options/InstallOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/InstallOptions.cs
@@ -10,146 +10,146 @@ public record InstallOptions(
) : ChocoOptions
{
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[BooleanCommandSwitch("--prerelease")]
- public bool? Prerelease { get; set; }
+ public virtual bool? Prerelease { get; set; }
[BooleanCommandSwitch("--forcex86")]
- public bool? Forcex86 { get; set; }
+ public virtual bool? Forcex86 { get; set; }
[CommandSwitch("--install-arguments")]
- public string? InstallArguments { get; set; }
+ public virtual string? InstallArguments { get; set; }
[BooleanCommandSwitch("--override-arguments")]
- public bool? OverrideArguments { get; set; }
+ public virtual bool? OverrideArguments { get; set; }
[BooleanCommandSwitch("--not-silent")]
- public bool? NotSilent { get; set; }
+ public virtual bool? NotSilent { get; set; }
[CommandSwitch("--package-parameters")]
- public string? PackageParameters { get; set; }
+ public virtual string? PackageParameters { get; set; }
[BooleanCommandSwitch("--apply-install-arguments-to-dependencies")]
- public bool? ApplyInstallArgumentsToDependencies { get; set; }
+ public virtual bool? ApplyInstallArgumentsToDependencies { get; set; }
[BooleanCommandSwitch("--apply-package-parameters-to-dependencies")]
- public bool? ApplyPackageParametersToDependencies { get; set; }
+ public virtual bool? ApplyPackageParametersToDependencies { get; set; }
[BooleanCommandSwitch("--allow-downgrade")]
- public bool? AllowDowngrade { get; set; }
+ public virtual bool? AllowDowngrade { get; set; }
[BooleanCommandSwitch("--ignore-dependencies")]
- public bool? IgnoreDependencies { get; set; }
+ public virtual bool? IgnoreDependencies { get; set; }
[BooleanCommandSwitch("--force-dependencies")]
- public bool? ForceDependencies { get; set; }
+ public virtual bool? ForceDependencies { get; set; }
[BooleanCommandSwitch("--skip-automation-scripts")]
- public bool? SkipAutomationScripts { get; set; }
+ public virtual bool? SkipAutomationScripts { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[BooleanCommandSwitch("--ignore-checksums")]
- public bool? IgnoreChecksums { get; set; }
+ public virtual bool? IgnoreChecksums { get; set; }
[BooleanCommandSwitch("--allow-empty-checksums")]
- public bool? AllowEmptyChecksums { get; set; }
+ public virtual bool? AllowEmptyChecksums { get; set; }
[BooleanCommandSwitch("--allow-empty-checksums-secure")]
- public bool? AllowEmptyChecksumsSecure { get; set; }
+ public virtual bool? AllowEmptyChecksumsSecure { get; set; }
[BooleanCommandSwitch("--require-checksums")]
- public bool? RequireChecksums { get; set; }
+ public virtual bool? RequireChecksums { get; set; }
[CommandSwitch("--download-checksum")]
- public string? DownloadChecksum { get; set; }
+ public virtual string? DownloadChecksum { get; set; }
[CommandSwitch("--download-checksum-x64")]
- public string? DownloadChecksumX64 { get; set; }
+ public virtual string? DownloadChecksumX64 { get; set; }
[CommandSwitch("--download-checksum-type")]
- public string? DownloadChecksumType { get; set; }
+ public virtual string? DownloadChecksumType { get; set; }
[CommandSwitch("--download-checksum-type-x64")]
- public string? DownloadChecksumTypeX64 { get; set; }
+ public virtual string? DownloadChecksumTypeX64 { get; set; }
[BooleanCommandSwitch("--ignore-package-exit-codes")]
- public bool? IgnorePackageExitCodes { get; set; }
+ public virtual bool? IgnorePackageExitCodes { get; set; }
[BooleanCommandSwitch("--use-package-exit-codes")]
- public bool? UsePackageExitCodes { get; set; }
+ public virtual bool? UsePackageExitCodes { get; set; }
[BooleanCommandSwitch("--stop-on-first-package-failure")]
- public bool? StopOnFirstPackageFailure { get; set; }
+ public virtual bool? StopOnFirstPackageFailure { get; set; }
[BooleanCommandSwitch("--exit-when-reboot-detected")]
- public bool? ExitWhenRebootDetected { get; set; }
+ public virtual bool? ExitWhenRebootDetected { get; set; }
[BooleanCommandSwitch("--ignore-detected-reboot")]
- public bool? IgnoreDetectedReboot { get; set; }
+ public virtual bool? IgnoreDetectedReboot { get; set; }
[BooleanCommandSwitch("--disable-package-repository-optimizations")]
- public bool? DisablePackageRepositoryOptimizations { get; set; }
+ public virtual bool? DisablePackageRepositoryOptimizations { get; set; }
[BooleanCommandSwitch("--pin-package")]
- public bool? PinPackage { get; set; }
+ public virtual bool? PinPackage { get; set; }
[BooleanCommandSwitch("--skip-hooks")]
- public bool? SkipHooks { get; set; }
+ public virtual bool? SkipHooks { get; set; }
[BooleanCommandSwitch("--skip-download-cache")]
- public bool? SkipDownloadCache { get; set; }
+ public virtual bool? SkipDownloadCache { get; set; }
[BooleanCommandSwitch("--use-download-cache")]
- public bool? UseDownloadCache { get; set; }
+ public virtual bool? UseDownloadCache { get; set; }
[BooleanCommandSwitch("--skip-virus-check")]
- public bool? SkipVirusCheck { get; set; }
+ public virtual bool? SkipVirusCheck { get; set; }
[BooleanCommandSwitch("--virus-check")]
- public bool? VirusCheck { get; set; }
+ public virtual bool? VirusCheck { get; set; }
[CommandSwitch("--virus-positives-minimum")]
- public string? VirusPositivesMinimum { get; set; }
+ public virtual string? VirusPositivesMinimum { get; set; }
[CommandSwitch("--install-arguments-sensitive")]
- public string? InstallArgumentsSensitive { get; set; }
+ public virtual string? InstallArgumentsSensitive { get; set; }
[CommandSwitch("--package-parameters-sensitive")]
- public string? PackageParametersSensitive { get; set; }
+ public virtual string? PackageParametersSensitive { get; set; }
[CommandSwitch("--install-directory")]
- public string? InstallDirectory { get; set; }
+ public virtual string? InstallDirectory { get; set; }
[CommandSwitch("--maximum-download-bits-per-second")]
- public string? MaximumDownloadBitsPerSecond { get; set; }
+ public virtual string? MaximumDownloadBitsPerSecond { get; set; }
[BooleanCommandSwitch("--deflate-package-size")]
- public bool? DeflatePackageSize { get; set; }
+ public virtual bool? DeflatePackageSize { get; set; }
[BooleanCommandSwitch("--no-deflate-package-size")]
- public bool? NoDeflatePackageSize { get; set; }
+ public virtual bool? NoDeflatePackageSize { get; set; }
[BooleanCommandSwitch("--deflate-nupkg-only")]
- public bool? DeflateNupkgOnly { get; set; }
+ public virtual bool? DeflateNupkgOnly { get; set; }
[CommandSwitch("--note")]
- public string? Note { get; set; }
+ public virtual string? Note { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/ListOptions.cs b/src/ModularPipelines.Chocolatey/Options/ListOptions.cs
index b406985bde..8a82b58b8c 100644
--- a/src/ModularPipelines.Chocolatey/Options/ListOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/ListOptions.cs
@@ -10,47 +10,47 @@ public record ListOptions(
) : ChocoOptions
{
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[BooleanCommandSwitch("--id-only")]
- public bool? IdOnly { get; set; }
+ public virtual bool? IdOnly { get; set; }
[BooleanCommandSwitch("--prerelease")]
- public bool? Prerelease { get; set; }
+ public virtual bool? Prerelease { get; set; }
[BooleanCommandSwitch("--include-programs")]
- public bool? IncludePrograms { get; set; }
+ public virtual bool? IncludePrograms { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[CommandSwitch("--page")]
- public string? Page { get; set; }
+ public virtual string? Page { get; set; }
[CommandSwitch("--page-size")]
- public string? PageSize { get; set; }
+ public virtual string? PageSize { get; set; }
[BooleanCommandSwitch("--exact")]
- public bool? Exact { get; set; }
+ public virtual bool? Exact { get; set; }
[BooleanCommandSwitch("--by-id-only")]
- public bool? ByIdOnly { get; set; }
+ public virtual bool? ByIdOnly { get; set; }
[BooleanCommandSwitch("--by-tags-only")]
- public bool? ByTagsOnly { get; set; }
+ public virtual bool? ByTagsOnly { get; set; }
[BooleanCommandSwitch("--id-starts-with")]
- public bool? IdStartsWith { get; set; }
+ public virtual bool? IdStartsWith { get; set; }
[BooleanCommandSwitch("--detailed")]
- public bool? Detailed { get; set; }
+ public virtual bool? Detailed { get; set; }
[BooleanCommandSwitch("--disable-package-repository-optimizations")]
- public bool? DisablePackageRepositoryOptimizations { get; set; }
+ public virtual bool? DisablePackageRepositoryOptimizations { get; set; }
[BooleanCommandSwitch("--show-audit-info")]
- public bool? ShowAuditInfo { get; set; }
+ public virtual bool? ShowAuditInfo { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/NewOptions.cs b/src/ModularPipelines.Chocolatey/Options/NewOptions.cs
index 75f83907cd..2fdeb50a90 100644
--- a/src/ModularPipelines.Chocolatey/Options/NewOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/NewOptions.cs
@@ -10,53 +10,53 @@ public record NewOptions(
) : ChocoOptions
{
[BooleanCommandSwitch("--automaticpackage")]
- public bool? Automaticpackage { get; set; }
+ public virtual bool? Automaticpackage { get; set; }
[CommandSwitch("--template-name")]
- public string? TemplateName { get; set; }
+ public virtual string? TemplateName { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[CommandSwitch("--maintainer")]
- public string? Maintainer { get; set; }
+ public virtual string? Maintainer { get; set; }
[CommandSwitch("--output-directory")]
- public string? OutputDirectory { get; set; }
+ public virtual string? OutputDirectory { get; set; }
[BooleanCommandSwitch("--use-built-in-template")]
- public bool? UseBuiltInTemplate { get; set; }
+ public virtual bool? UseBuiltInTemplate { get; set; }
[CommandSwitch("--url")]
- public string? Url { get; set; }
+ public virtual string? Url { get; set; }
[CommandSwitch("--url64")]
- public string? Url64 { get; set; }
+ public virtual string? Url64 { get; set; }
[BooleanCommandSwitch("--use-original-files-location")]
- public bool? UseOriginalFilesLocation { get; set; }
+ public virtual bool? UseOriginalFilesLocation { get; set; }
[CommandSwitch("--download-checksum")]
- public string? DownloadChecksum { get; set; }
+ public virtual string? DownloadChecksum { get; set; }
[CommandSwitch("--download-checksum-x64")]
- public string? DownloadChecksumX64 { get; set; }
+ public virtual string? DownloadChecksumX64 { get; set; }
[CommandSwitch("--download-checksum-type")]
- public string? DownloadChecksumType { get; set; }
+ public virtual string? DownloadChecksumType { get; set; }
[BooleanCommandSwitch("--pause-on-error")]
- public bool? PauseOnError { get; set; }
+ public virtual bool? PauseOnError { get; set; }
[BooleanCommandSwitch("--build-packages")]
- public bool? BuildPackages { get; set; }
+ public virtual bool? BuildPackages { get; set; }
[BooleanCommandSwitch("--from-programs-and-features")]
- public bool? FromProgramsAndFeatures { get; set; }
+ public virtual bool? FromProgramsAndFeatures { get; set; }
[BooleanCommandSwitch("--remove-architecture-from-name")]
- public bool? RemoveArchitectureFromName { get; set; }
+ public virtual bool? RemoveArchitectureFromName { get; set; }
[BooleanCommandSwitch("--include-architecture-in-name")]
- public bool? IncludeArchitectureInName { get; set; }
+ public virtual bool? IncludeArchitectureInName { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/OptimizeOptions.cs b/src/ModularPipelines.Chocolatey/Options/OptimizeOptions.cs
index a0e47da930..0a02c3b1bc 100644
--- a/src/ModularPipelines.Chocolatey/Options/OptimizeOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/OptimizeOptions.cs
@@ -8,11 +8,11 @@ namespace ModularPipelines.Chocolatey.Options;
public record OptimizeOptions : ChocoOptions
{
[BooleanCommandSwitch("--deflate-nupkg-only")]
- public bool? DeflateNupkgOnly { get; set; }
+ public virtual bool? DeflateNupkgOnly { get; set; }
[CommandSwitch("--id")]
- public string? Id { get; set; }
+ public virtual string? Id { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/OutdatedOptions.cs b/src/ModularPipelines.Chocolatey/Options/OutdatedOptions.cs
index 2dbdafdc16..bc0f50aed1 100644
--- a/src/ModularPipelines.Chocolatey/Options/OutdatedOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/OutdatedOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record OutdatedOptions : ChocoOptions
{
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[BooleanCommandSwitch("--prerelease")]
- public bool? Prerelease { get; set; }
+ public virtual bool? Prerelease { get; set; }
[BooleanCommandSwitch("--ignore-pinned")]
- public bool? IgnorePinned { get; set; }
+ public virtual bool? IgnorePinned { get; set; }
[BooleanCommandSwitch("--ignore-unfound")]
- public bool? IgnoreUnfound { get; set; }
+ public virtual bool? IgnoreUnfound { get; set; }
[BooleanCommandSwitch("--disable-package-repository-optimizations")]
- public bool? DisablePackageRepositoryOptimizations { get; set; }
+ public virtual bool? DisablePackageRepositoryOptimizations { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/PinAddOptions.cs b/src/ModularPipelines.Chocolatey/Options/PinAddOptions.cs
index f48dbebd00..f2791034cb 100644
--- a/src/ModularPipelines.Chocolatey/Options/PinAddOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/PinAddOptions.cs
@@ -8,14 +8,14 @@ namespace ModularPipelines.Chocolatey.Options;
public record PinAddOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[CommandSwitch("--note")]
- public string? Note { get; set; }
+ public virtual string? Note { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/PinOptions.cs b/src/ModularPipelines.Chocolatey/Options/PinOptions.cs
index d26a931594..866bff677b 100644
--- a/src/ModularPipelines.Chocolatey/Options/PinOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/PinOptions.cs
@@ -8,14 +8,14 @@ namespace ModularPipelines.Chocolatey.Options;
public record PinOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[CommandSwitch("--note")]
- public string? Note { get; set; }
+ public virtual string? Note { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/PinRemoveOptions.cs b/src/ModularPipelines.Chocolatey/Options/PinRemoveOptions.cs
index b5ee0b2ef6..231335d3f6 100644
--- a/src/ModularPipelines.Chocolatey/Options/PinRemoveOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/PinRemoveOptions.cs
@@ -8,14 +8,14 @@ namespace ModularPipelines.Chocolatey.Options;
public record PinRemoveOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[CommandSwitch("--note")]
- public string? Note { get; set; }
+ public virtual string? Note { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/PushOptions.cs b/src/ModularPipelines.Chocolatey/Options/PushOptions.cs
index da26a9d0e2..4e0bd05dfa 100644
--- a/src/ModularPipelines.Chocolatey/Options/PushOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/PushOptions.cs
@@ -10,23 +10,23 @@ public record PushOptions(
) : ChocoOptions
{
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--api-key")]
- public string? ApiKey { get; set; }
+ public virtual string? ApiKey { get; set; }
[CommandSwitch("--code")]
- public string? Code { get; set; }
+ public virtual string? Code { get; set; }
[CommandSwitch("--redirecturl")]
- public string? Redirecturl { get; set; }
+ public virtual string? Redirecturl { get; set; }
[CommandSwitch("--endpoint")]
- public string? Endpoint { get; set; }
+ public virtual string? Endpoint { get; set; }
[BooleanCommandSwitch("--skip-cleanup")]
- public bool? SkipCleanup { get; set; }
+ public virtual bool? SkipCleanup { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SearchOptions.cs b/src/ModularPipelines.Chocolatey/Options/SearchOptions.cs
index a5db9a7e7f..c5a1c7ceed 100644
--- a/src/ModularPipelines.Chocolatey/Options/SearchOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SearchOptions.cs
@@ -10,74 +10,74 @@ public record SearchOptions(
) : ChocoOptions
{
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[BooleanCommandSwitch("--id-only")]
- public bool? IdOnly { get; set; }
+ public virtual bool? IdOnly { get; set; }
[BooleanCommandSwitch("--prerelease")]
- public bool? Prerelease { get; set; }
+ public virtual bool? Prerelease { get; set; }
[BooleanCommandSwitch("--include-programs")]
- public bool? IncludePrograms { get; set; }
+ public virtual bool? IncludePrograms { get; set; }
[BooleanCommandSwitch("--all-versions")]
- public bool? AllVersions { get; set; }
+ public virtual bool? AllVersions { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--page")]
- public string? Page { get; set; }
+ public virtual string? Page { get; set; }
[CommandSwitch("--page-size")]
- public string? PageSize { get; set; }
+ public virtual string? PageSize { get; set; }
[BooleanCommandSwitch("--exact")]
- public bool? Exact { get; set; }
+ public virtual bool? Exact { get; set; }
[BooleanCommandSwitch("--by-id-only")]
- public bool? ByIdOnly { get; set; }
+ public virtual bool? ByIdOnly { get; set; }
[BooleanCommandSwitch("--by-tags-only")]
- public bool? ByTagsOnly { get; set; }
+ public virtual bool? ByTagsOnly { get; set; }
[BooleanCommandSwitch("--id-starts-with")]
- public bool? IdStartsWith { get; set; }
+ public virtual bool? IdStartsWith { get; set; }
[BooleanCommandSwitch("--order-by-popularity")]
- public bool? OrderByPopularity { get; set; }
+ public virtual bool? OrderByPopularity { get; set; }
[BooleanCommandSwitch("--approved-only")]
- public bool? ApprovedOnly { get; set; }
+ public virtual bool? ApprovedOnly { get; set; }
[BooleanCommandSwitch("--download-cache-only")]
- public bool? DownloadCacheOnly { get; set; }
+ public virtual bool? DownloadCacheOnly { get; set; }
[BooleanCommandSwitch("--not-broken")]
- public bool? NotBroken { get; set; }
+ public virtual bool? NotBroken { get; set; }
[BooleanCommandSwitch("--detailed")]
- public bool? Detailed { get; set; }
+ public virtual bool? Detailed { get; set; }
[BooleanCommandSwitch("--disable-package-repository-optimizations")]
- public bool? DisablePackageRepositoryOptimizations { get; set; }
+ public virtual bool? DisablePackageRepositoryOptimizations { get; set; }
[BooleanCommandSwitch("--show-audit-info")]
- public bool? ShowAuditInfo { get; set; }
+ public virtual bool? ShowAuditInfo { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SetapikeyOptions.cs b/src/ModularPipelines.Chocolatey/Options/SetapikeyOptions.cs
index 0cbde3f8b1..6f1beeb334 100644
--- a/src/ModularPipelines.Chocolatey/Options/SetapikeyOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SetapikeyOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Chocolatey.Options;
public record SetApiKeyOptions : ChocoOptions
{
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--api-key")]
- public string? ApiKey { get; set; }
+ public virtual string? ApiKey { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SourceAddOptions.cs b/src/ModularPipelines.Chocolatey/Options/SourceAddOptions.cs
index f02827bca3..790cf71d91 100644
--- a/src/ModularPipelines.Chocolatey/Options/SourceAddOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SourceAddOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record SourceAddOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--priority")]
- public string? Priority { get; set; }
+ public virtual string? Priority { get; set; }
[BooleanCommandSwitch("--bypass-proxy")]
- public bool? BypassProxy { get; set; }
+ public virtual bool? BypassProxy { get; set; }
[BooleanCommandSwitch("--allow-self-service")]
- public bool? AllowSelfService { get; set; }
+ public virtual bool? AllowSelfService { get; set; }
[BooleanCommandSwitch("--admin-only")]
- public bool? AdminOnly { get; set; }
+ public virtual bool? AdminOnly { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SourceDisableOptions.cs b/src/ModularPipelines.Chocolatey/Options/SourceDisableOptions.cs
index 7cd9f01e62..3fdbcc8010 100644
--- a/src/ModularPipelines.Chocolatey/Options/SourceDisableOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SourceDisableOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record SourceDisableOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--priority")]
- public string? Priority { get; set; }
+ public virtual string? Priority { get; set; }
[BooleanCommandSwitch("--bypass-proxy")]
- public bool? BypassProxy { get; set; }
+ public virtual bool? BypassProxy { get; set; }
[BooleanCommandSwitch("--allow-self-service")]
- public bool? AllowSelfService { get; set; }
+ public virtual bool? AllowSelfService { get; set; }
[BooleanCommandSwitch("--admin-only")]
- public bool? AdminOnly { get; set; }
+ public virtual bool? AdminOnly { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SourceEnableOptions.cs b/src/ModularPipelines.Chocolatey/Options/SourceEnableOptions.cs
index ccea42859d..6ebb75d993 100644
--- a/src/ModularPipelines.Chocolatey/Options/SourceEnableOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SourceEnableOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record SourceEnableOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--priority")]
- public string? Priority { get; set; }
+ public virtual string? Priority { get; set; }
[BooleanCommandSwitch("--bypass-proxy")]
- public bool? BypassProxy { get; set; }
+ public virtual bool? BypassProxy { get; set; }
[BooleanCommandSwitch("--allow-self-service")]
- public bool? AllowSelfService { get; set; }
+ public virtual bool? AllowSelfService { get; set; }
[BooleanCommandSwitch("--admin-only")]
- public bool? AdminOnly { get; set; }
+ public virtual bool? AdminOnly { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SourceOptions.cs b/src/ModularPipelines.Chocolatey/Options/SourceOptions.cs
index be0de1d8ef..8fa51f1706 100644
--- a/src/ModularPipelines.Chocolatey/Options/SourceOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SourceOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record SourceOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--priority")]
- public string? Priority { get; set; }
+ public virtual string? Priority { get; set; }
[BooleanCommandSwitch("--bypass-proxy")]
- public bool? BypassProxy { get; set; }
+ public virtual bool? BypassProxy { get; set; }
[BooleanCommandSwitch("--allow-self-service")]
- public bool? AllowSelfService { get; set; }
+ public virtual bool? AllowSelfService { get; set; }
[BooleanCommandSwitch("--admin-only")]
- public bool? AdminOnly { get; set; }
+ public virtual bool? AdminOnly { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SourceRemoveOptions.cs b/src/ModularPipelines.Chocolatey/Options/SourceRemoveOptions.cs
index af008e39f0..bd2284e707 100644
--- a/src/ModularPipelines.Chocolatey/Options/SourceRemoveOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SourceRemoveOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record SourceRemoveOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--priority")]
- public string? Priority { get; set; }
+ public virtual string? Priority { get; set; }
[BooleanCommandSwitch("--bypass-proxy")]
- public bool? BypassProxy { get; set; }
+ public virtual bool? BypassProxy { get; set; }
[BooleanCommandSwitch("--allow-self-service")]
- public bool? AllowSelfService { get; set; }
+ public virtual bool? AllowSelfService { get; set; }
[BooleanCommandSwitch("--admin-only")]
- public bool? AdminOnly { get; set; }
+ public virtual bool? AdminOnly { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SourcesAddOptions.cs b/src/ModularPipelines.Chocolatey/Options/SourcesAddOptions.cs
index d3c7d4bbe0..890b2c6f45 100644
--- a/src/ModularPipelines.Chocolatey/Options/SourcesAddOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SourcesAddOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record SourcesAddOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--priority")]
- public string? Priority { get; set; }
+ public virtual string? Priority { get; set; }
[BooleanCommandSwitch("--bypass-proxy")]
- public bool? BypassProxy { get; set; }
+ public virtual bool? BypassProxy { get; set; }
[BooleanCommandSwitch("--allow-self-service")]
- public bool? AllowSelfService { get; set; }
+ public virtual bool? AllowSelfService { get; set; }
[BooleanCommandSwitch("--admin-only")]
- public bool? AdminOnly { get; set; }
+ public virtual bool? AdminOnly { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SourcesDisableOptions.cs b/src/ModularPipelines.Chocolatey/Options/SourcesDisableOptions.cs
index 825244ed7d..95cc48cd37 100644
--- a/src/ModularPipelines.Chocolatey/Options/SourcesDisableOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SourcesDisableOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record SourcesDisableOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--priority")]
- public string? Priority { get; set; }
+ public virtual string? Priority { get; set; }
[BooleanCommandSwitch("--bypass-proxy")]
- public bool? BypassProxy { get; set; }
+ public virtual bool? BypassProxy { get; set; }
[BooleanCommandSwitch("--allow-self-service")]
- public bool? AllowSelfService { get; set; }
+ public virtual bool? AllowSelfService { get; set; }
[BooleanCommandSwitch("--admin-only")]
- public bool? AdminOnly { get; set; }
+ public virtual bool? AdminOnly { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SourcesEnableOptions.cs b/src/ModularPipelines.Chocolatey/Options/SourcesEnableOptions.cs
index 32fb977d92..e0ad594779 100644
--- a/src/ModularPipelines.Chocolatey/Options/SourcesEnableOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SourcesEnableOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record SourcesEnableOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--priority")]
- public string? Priority { get; set; }
+ public virtual string? Priority { get; set; }
[BooleanCommandSwitch("--bypass-proxy")]
- public bool? BypassProxy { get; set; }
+ public virtual bool? BypassProxy { get; set; }
[BooleanCommandSwitch("--allow-self-service")]
- public bool? AllowSelfService { get; set; }
+ public virtual bool? AllowSelfService { get; set; }
[BooleanCommandSwitch("--admin-only")]
- public bool? AdminOnly { get; set; }
+ public virtual bool? AdminOnly { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SourcesOptions.cs b/src/ModularPipelines.Chocolatey/Options/SourcesOptions.cs
index 53d92f2f0c..afb31f5305 100644
--- a/src/ModularPipelines.Chocolatey/Options/SourcesOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SourcesOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record SourcesOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--priority")]
- public string? Priority { get; set; }
+ public virtual string? Priority { get; set; }
[BooleanCommandSwitch("--bypass-proxy")]
- public bool? BypassProxy { get; set; }
+ public virtual bool? BypassProxy { get; set; }
[BooleanCommandSwitch("--allow-self-service")]
- public bool? AllowSelfService { get; set; }
+ public virtual bool? AllowSelfService { get; set; }
[BooleanCommandSwitch("--admin-only")]
- public bool? AdminOnly { get; set; }
+ public virtual bool? AdminOnly { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SourcesRemoveOptions.cs b/src/ModularPipelines.Chocolatey/Options/SourcesRemoveOptions.cs
index f6b9257328..3803d245c4 100644
--- a/src/ModularPipelines.Chocolatey/Options/SourcesRemoveOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SourcesRemoveOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Chocolatey.Options;
public record SourcesRemoveOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[CommandSwitch("--priority")]
- public string? Priority { get; set; }
+ public virtual string? Priority { get; set; }
[BooleanCommandSwitch("--bypass-proxy")]
- public bool? BypassProxy { get; set; }
+ public virtual bool? BypassProxy { get; set; }
[BooleanCommandSwitch("--allow-self-service")]
- public bool? AllowSelfService { get; set; }
+ public virtual bool? AllowSelfService { get; set; }
[BooleanCommandSwitch("--admin-only")]
- public bool? AdminOnly { get; set; }
+ public virtual bool? AdminOnly { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/SyncOptions.cs b/src/ModularPipelines.Chocolatey/Options/SyncOptions.cs
index 500167845b..a0831d6351 100644
--- a/src/ModularPipelines.Chocolatey/Options/SyncOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/SyncOptions.cs
@@ -8,14 +8,14 @@ namespace ModularPipelines.Chocolatey.Options;
public record SyncOptions : ChocoOptions
{
[CommandSwitch("--id")]
- public string? Id { get; set; }
+ public virtual string? Id { get; set; }
[CommandSwitch("--package-id")]
- public string? PackageId { get; set; }
+ public virtual string? PackageId { get; set; }
[CommandSwitch("--output-directory")]
- public string? OutputDirectory { get; set; }
+ public virtual string? OutputDirectory { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/TemplateInfoOptions.cs b/src/ModularPipelines.Chocolatey/Options/TemplateInfoOptions.cs
index 3c62e6a8d0..73e054bb1b 100644
--- a/src/ModularPipelines.Chocolatey/Options/TemplateInfoOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/TemplateInfoOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Chocolatey.Options;
public record TemplateInfoOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/TemplateOptions.cs b/src/ModularPipelines.Chocolatey/Options/TemplateOptions.cs
index addc3fcd54..461787f035 100644
--- a/src/ModularPipelines.Chocolatey/Options/TemplateOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/TemplateOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Chocolatey.Options;
public record TemplateOptions : ChocoOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Chocolatey/Options/UpgradeOptions.cs b/src/ModularPipelines.Chocolatey/Options/UpgradeOptions.cs
index 7ee468f210..a40234a1b4 100644
--- a/src/ModularPipelines.Chocolatey/Options/UpgradeOptions.cs
+++ b/src/ModularPipelines.Chocolatey/Options/UpgradeOptions.cs
@@ -10,176 +10,176 @@ public record UpgradeOptions(
) : ChocoOptions
{
[CommandSwitch("--source")]
- public string? Source { get; set; }
+ public virtual string? Source { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[BooleanCommandSwitch("--prerelease")]
- public bool? Prerelease { get; set; }
+ public virtual bool? Prerelease { get; set; }
[BooleanCommandSwitch("--forcex86")]
- public bool? Forcex86 { get; set; }
+ public virtual bool? Forcex86 { get; set; }
[CommandSwitch("--install-arguments")]
- public string? InstallArguments { get; set; }
+ public virtual string? InstallArguments { get; set; }
[BooleanCommandSwitch("--override-arguments")]
- public bool? OverrideArguments { get; set; }
+ public virtual bool? OverrideArguments { get; set; }
[BooleanCommandSwitch("--not-silent")]
- public bool? NotSilent { get; set; }
+ public virtual bool? NotSilent { get; set; }
[CommandSwitch("--package-parameters")]
- public string? PackageParameters { get; set; }
+ public virtual string? PackageParameters { get; set; }
[BooleanCommandSwitch("--apply-install-arguments-to-dependencies")]
- public bool? ApplyInstallArgumentsToDependencies { get; set; }
+ public virtual bool? ApplyInstallArgumentsToDependencies { get; set; }
[BooleanCommandSwitch("--apply-package-parameters-to-dependencies")]
- public bool? ApplyPackageParametersToDependencies { get; set; }
+ public virtual bool? ApplyPackageParametersToDependencies { get; set; }
[BooleanCommandSwitch("--allow-downgrade")]
- public bool? AllowDowngrade { get; set; }
+ public virtual bool? AllowDowngrade { get; set; }
[BooleanCommandSwitch("--ignore-dependencies")]
- public bool? IgnoreDependencies { get; set; }
+ public virtual bool? IgnoreDependencies { get; set; }
[BooleanCommandSwitch("--skip-automation-scripts")]
- public bool? SkipAutomationScripts { get; set; }
+ public virtual bool? SkipAutomationScripts { get; set; }
[BooleanCommandSwitch("--fail-on-unfound")]
- public bool? FailOnUnfound { get; set; }
+ public virtual bool? FailOnUnfound { get; set; }
[BooleanCommandSwitch("--ignore-unfound")]
- public bool? IgnoreUnfound { get; set; }
+ public virtual bool? IgnoreUnfound { get; set; }
[BooleanCommandSwitch("--fail-on-not-installed")]
- public bool? FailOnNotInstalled { get; set; }
+ public virtual bool? FailOnNotInstalled { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--cert")]
- public string? Cert { get; set; }
+ public virtual string? Cert { get; set; }
[CommandSwitch("--certpassword")]
- public string? Certpassword { get; set; }
+ public virtual string? Certpassword { get; set; }
[BooleanCommandSwitch("--ignore-checksums")]
- public bool? IgnoreChecksums { get; set; }
+ public virtual bool? IgnoreChecksums { get; set; }
[BooleanCommandSwitch("--allow-empty-checksums")]
- public bool? AllowEmptyChecksums { get; set; }
+ public virtual bool? AllowEmptyChecksums { get; set; }
[BooleanCommandSwitch("--allow-empty-checksums-secure")]
- public bool? AllowEmptyChecksumsSecure { get; set; }
+ public virtual bool? AllowEmptyChecksumsSecure { get; set; }
[BooleanCommandSwitch("--require-checksums")]
- public bool? RequireChecksums { get; set; }
+ public virtual bool? RequireChecksums { get; set; }
[CommandSwitch("--download-checksum")]
- public string? DownloadChecksum { get; set; }
+ public virtual string? DownloadChecksum { get; set; }
[CommandSwitch("--download-checksum-x64")]
- public string? DownloadChecksumX64 { get; set; }
+ public virtual string? DownloadChecksumX64 { get; set; }
[CommandSwitch("--download-checksum-type")]
- public string? DownloadChecksumType { get; set; }
+ public virtual string? DownloadChecksumType { get; set; }
[CommandSwitch("--download-checksum-type-x64")]
- public string? DownloadChecksumTypeX64 { get; set; }
+ public virtual string? DownloadChecksumTypeX64 { get; set; }
[BooleanCommandSwitch("--ignore-package-exit-codes")]
- public bool? IgnorePackageExitCodes { get; set; }
+ public virtual bool? IgnorePackageExitCodes { get; set; }
[BooleanCommandSwitch("--use-package-exit-codes")]
- public bool? UsePackageExitCodes { get; set; }
+ public virtual bool? UsePackageExitCodes { get; set; }
[CommandSwitch("--except")]
- public string? Except { get; set; }
+ public virtual string? Except { get; set; }
[BooleanCommandSwitch("--stop-on-first-package-failure")]
- public bool? StopOnFirstPackageFailure { get; set; }
+ public virtual bool? StopOnFirstPackageFailure { get; set; }
[BooleanCommandSwitch("--skip-when-not-installed")]
- public bool? SkipWhenNotInstalled { get; set; }
+ public virtual bool? SkipWhenNotInstalled { get; set; }
[BooleanCommandSwitch("--install-if-not-installed")]
- public bool? InstallIfNotInstalled { get; set; }
+ public virtual bool? InstallIfNotInstalled { get; set; }
[BooleanCommandSwitch("--exclude-prereleases")]
- public bool? ExcludePrereleases { get; set; }
+ public virtual bool? ExcludePrereleases { get; set; }
[BooleanCommandSwitch("--use-remembered-options")]
- public bool? UseRememberedOptions { get; set; }
+ public virtual bool? UseRememberedOptions { get; set; }
[BooleanCommandSwitch("--ignore-remembered-options")]
- public bool? IgnoreRememberedOptions { get; set; }
+ public virtual bool? IgnoreRememberedOptions { get; set; }
[BooleanCommandSwitch("--exit-when-reboot-detected")]
- public bool? ExitWhenRebootDetected { get; set; }
+ public virtual bool? ExitWhenRebootDetected { get; set; }
[BooleanCommandSwitch("--ignore-detected-reboot")]
- public bool? IgnoreDetectedReboot { get; set; }
+ public virtual bool? IgnoreDetectedReboot { get; set; }
[BooleanCommandSwitch("--disable-package-repository-optimizations")]
- public bool? DisablePackageRepositoryOptimizations { get; set; }
+ public virtual bool? DisablePackageRepositoryOptimizations { get; set; }
[BooleanCommandSwitch("--pin-package")]
- public bool? PinPackage { get; set; }
+ public virtual bool? PinPackage { get; set; }
[BooleanCommandSwitch("--skip-hooks")]
- public bool? SkipHooks { get; set; }
+ public virtual bool? SkipHooks { get; set; }
[BooleanCommandSwitch("--skip-download-cache")]
- public bool? SkipDownloadCache { get; set; }
+ public virtual bool? SkipDownloadCache { get; set; }
[BooleanCommandSwitch("--use-download-cache")]
- public bool? UseDownloadCache { get; set; }
+ public virtual bool? UseDownloadCache { get; set; }
[BooleanCommandSwitch("--skip-virus-check")]
- public bool? SkipVirusCheck { get; set; }
+ public virtual bool? SkipVirusCheck { get; set; }
[BooleanCommandSwitch("--virus-check")]
- public bool? VirusCheck { get; set; }
+ public virtual bool? VirusCheck { get; set; }
[CommandSwitch("--virus-positives-minimum")]
- public string? VirusPositivesMinimum { get; set; }
+ public virtual string? VirusPositivesMinimum { get; set; }
[CommandSwitch("--install-arguments-sensitive")]
- public string? InstallArgumentsSensitive { get; set; }
+ public virtual string? InstallArgumentsSensitive { get; set; }
[CommandSwitch("--package-parameters-sensitive")]
- public string? PackageParametersSensitive { get; set; }
+ public virtual string? PackageParametersSensitive { get; set; }
[CommandSwitch("--install-directory")]
- public string? InstallDirectory { get; set; }
+ public virtual string? InstallDirectory { get; set; }
[CommandSwitch("--maximum-download-bits-per-second")]
- public string? MaximumDownloadBitsPerSecond { get; set; }
+ public virtual string? MaximumDownloadBitsPerSecond { get; set; }
[BooleanCommandSwitch("--deflate-package-size")]
- public bool? DeflatePackageSize { get; set; }
+ public virtual bool? DeflatePackageSize { get; set; }
[BooleanCommandSwitch("--no-deflate-package-size")]
- public bool? NoDeflatePackageSize { get; set; }
+ public virtual bool? NoDeflatePackageSize { get; set; }
[BooleanCommandSwitch("--deflate-nupkg-only")]
- public bool? DeflateNupkgOnly { get; set; }
+ public virtual bool? DeflateNupkgOnly { get; set; }
[BooleanCommandSwitch("--exclude-chocolatey-packages-during-upgrade-all")]
- public bool? ExcludeChocolateyPackagesDuringUpgradeAll { get; set; }
+ public virtual bool? ExcludeChocolateyPackagesDuringUpgradeAll { get; set; }
[BooleanCommandSwitch("--include-chocolatey-packages-during-upgrade-all")]
- public bool? IncludeChocolateyPackagesDuringUpgradeAll { get; set; }
+ public virtual bool? IncludeChocolateyPackagesDuringUpgradeAll { get; set; }
[CommandSwitch("--note")]
- public string? Note { get; set; }
+ public virtual string? Note { get; set; }
[BooleanCommandSwitch("--force-self-service")]
- public bool? ForceSelfService { get; set; }
+ public virtual bool? ForceSelfService { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Cmd/Cmd.cs b/src/ModularPipelines.Cmd/Cmd.cs
index 92f2aed07d..dbf4a1372f 100644
--- a/src/ModularPipelines.Cmd/Cmd.cs
+++ b/src/ModularPipelines.Cmd/Cmd.cs
@@ -13,7 +13,7 @@ public Cmd(IPipelineContext context)
_context = context;
}
- public Task Script(CmdScriptOptions options, CancellationToken cancellationToken = default)
+ public virtual Task Script(CmdScriptOptions options, CancellationToken cancellationToken = default)
{
return _context.Command.ExecuteCommandLineTool(options, cancellationToken);
}
diff --git a/src/ModularPipelines.Cmd/Models/CmdScriptOptions.cs b/src/ModularPipelines.Cmd/Models/CmdScriptOptions.cs
index c902646033..a64a6f5c24 100644
--- a/src/ModularPipelines.Cmd/Models/CmdScriptOptions.cs
+++ b/src/ModularPipelines.Cmd/Models/CmdScriptOptions.cs
@@ -8,17 +8,17 @@ namespace ModularPipelines.Cmd.Models;
public record CmdScriptOptions([property: PositionalArgument(Position = Position.AfterSwitches)] string Script) : CommandLineToolOptions("cmd")
{
[BooleanCommandSwitch("/q")]
- public bool DisableEcho { get; init; }
+ public virtual bool DisableEcho { get; init; }
[BooleanCommandSwitch("/c")]
- public bool StopAfter { get; init; } = true;
+ public virtual bool StopAfter { get; init; } = true;
[BooleanCommandSwitch("/u")]
- public bool Unicode { get; init; }
+ public virtual bool Unicode { get; init; }
[BooleanCommandSwitch("/a")]
- public bool Ansi { get; init; }
+ public virtual bool Ansi { get; init; }
[BooleanCommandSwitch("/d")]
- public bool DisableAutoRunCommands { get; init; }
+ public virtual bool DisableAutoRunCommands { get; init; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Development.Analyzers/AnalyzerReleases.Shipped.md b/src/ModularPipelines.Development.Analyzers/AnalyzerReleases.Shipped.md
new file mode 100644
index 0000000000..8dd1b9ada6
--- /dev/null
+++ b/src/ModularPipelines.Development.Analyzers/AnalyzerReleases.Shipped.md
@@ -0,0 +1,8 @@
+## Release 1.0
+
+### New Rules
+
+| Rule ID | Category | Severity | Notes |
+|---------|----------|----------|--------------------------------------------------|
+| AB0001 | Naming | Warning | Type names should not contain the company name. |
+| AB0002 | Usage | Warning | The speed must be lower than the Speed of Light. |
\ No newline at end of file
diff --git a/src/ModularPipelines.Development.Analyzers/AnalyzerReleases.Unshipped.md b/src/ModularPipelines.Development.Analyzers/AnalyzerReleases.Unshipped.md
new file mode 100644
index 0000000000..44f7c8f4ef
--- /dev/null
+++ b/src/ModularPipelines.Development.Analyzers/AnalyzerReleases.Unshipped.md
@@ -0,0 +1,4 @@
+### New Rules
+
+| Rule ID | Category | Severity | Notes |
+|---------|----------|----------|-------|
\ No newline at end of file
diff --git a/src/ModularPipelines.Development.Analyzers/ModularPipelines.Development.Analyzers.csproj b/src/ModularPipelines.Development.Analyzers/ModularPipelines.Development.Analyzers.csproj
new file mode 100644
index 0000000000..57335875e7
--- /dev/null
+++ b/src/ModularPipelines.Development.Analyzers/ModularPipelines.Development.Analyzers.csproj
@@ -0,0 +1,37 @@
+
+
+
+ netstandard2.0
+ false
+ enable
+ latest
+ false
+ true
+ true
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
diff --git a/src/ModularPipelines.Development.Analyzers/Properties/launchSettings.json b/src/ModularPipelines.Development.Analyzers/Properties/launchSettings.json
new file mode 100644
index 0000000000..73ef4d30c0
--- /dev/null
+++ b/src/ModularPipelines.Development.Analyzers/Properties/launchSettings.json
@@ -0,0 +1,9 @@
+{
+ "$schema": "https://json.schemastore.org/launchsettings.json",
+ "profiles": {
+ "DebugRoslynAnalyzers": {
+ "commandName": "DebugRoslynComponent",
+ "targetProject": "../ModularPipelines.Development.Analyzers.Sample/ModularPipelines.Development.Analyzers.Sample.csproj"
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ModularPipelines.Development.Analyzers/Readme.md b/src/ModularPipelines.Development.Analyzers/Readme.md
new file mode 100644
index 0000000000..976f16c4f8
--- /dev/null
+++ b/src/ModularPipelines.Development.Analyzers/Readme.md
@@ -0,0 +1,158 @@
+# ModularPipelines
+
+Define your pipeline in .NET! Strong types, intellisense, parallelisation, and the entire .NET ecosystem at your fingertips.
+
+[](https://www.nuget.org/packages/ModularPipelines/)
+
+   [](https://app.codacy.com/gh/thomhurst/ModularPipelines/dashboard?utm_source=gh\&utm_medium=referral\&utm_content=\&utm_campaign=Badge_grade) [](https://www.codefactor.io/repository/github/thomhurst/modularpipelines)  [](https://app.codacy.com/gh/thomhurst/ModularPipelines/dashboard?utm_source=gh\&utm_medium=referral\&utm_content=\&utm_campaign=Badge_coverage) [](https://codecov.io/gh/thomhurst/ModularPipelines)
+
+## [Documentation](https://thomhurst.github.io/ModularPipelines)
+
+
+
+## Features
+
+* Parallel execution
+* Dependency management
+* Familiar C# code
+* Ability to debug pipelines
+* Ability to run pipelines locally, even creating versions for setting up local development
+* Strong typing, where different modules/steps can pass data to one another
+* Dependency collision detection - Don't worry about accidentally making two modules dependent on each other
+* Numerous helpers to do things like: Search files, check checksums, (un)zip folders, download files, install files, execute CLI commands, hash data, and more
+* Easy to Skip or Ignore Failures for each individual module by passing in custom logic
+* Hooks that can run before and/or after modules
+* Pipeline requirements - Validate your requirements are met before executing your pipeline, such as a Linux operating system
+* Easy to use File and Folder classes, that can search, read, update, delete and more
+* Source controlled pipelines
+* Build agent agnostic - Can easily move to a different build system without completely recreating your pipeline
+* No need to learn new syntaxes such as YAML defined pipelines
+* Strongly typed wrappers around command line tools
+* Utilise existing .NET libraries
+* Secret obfuscation
+* Grouped logging, and the ability to extend sources by adding to the familiar `ILogger`
+* Run based on categories
+* Easy to read exceptions
+* Dynamic console progress reporting (if the console supports interactive mode)
+* Pretty results table
+
+## Available Modules
+
+| Package | Description | Version |
+| --- | --- | --- |
+| ModularPipelines | Write your pipelines in C#! | [](https://www.nuget.org/packages/ModularPipelines/) |
+| ModularPipelines.AmazonWebServices | Helpers for interacting with Amazon Web Services. | [](https://www.nuget.org/packages/ModularPipelines.AmazonWebServices/) |
+| ModularPipelines.Azure | Helpers for interacting with Azure. | [](https://www.nuget.org/packages/ModularPipelines.Azure/) |
+| ModularPipelines.Azure.Pipelines | Helpers for interacting with Azure Pipeline agents. | [](https://www.nuget.org/packages/ModularPipelines.Azure.Pipelines/) |
+| ModularPipelines.Chocolatey | Helpers for interacting with the Chocolatey CLI. | [](https://www.nuget.org/packages/ModularPipelines.Chocolatey/) |
+| ModularPipelines.Cmd | Helpers for interacting with the Windows cmd process. | [](https://www.nuget.org/packages/ModularPipelines.Cmd/) |
+| ModularPipelines.Docker | Helpers for interacting with the Docker CLI. | [](https://www.nuget.org/packages/ModularPipelines.Docker/) |
+| ModularPipelines.DotNet | Helpers for interacting with dotnet CLI. | [](https://www.nuget.org/packages/ModularPipelines.DotNet/) |
+| ModularPipelines.Email | Helpers for sending emails. | [](https://www.nuget.org/packages/ModularPipelines.Email/) |
+| ModularPipelines.Ftp | Helpers for downloading and uploading via FTP. | [](https://www.nuget.org/packages/ModularPipelines.Ftp/) |
+| ModularPipelines.Git | Helpers for interacting with git. | [](https://www.nuget.org/packages/ModularPipelines.Git/) |
+| ModularPipelines.GitHub | Helpers for interacting with GitHub Actions build agents. | [](https://www.nuget.org/packages/ModularPipelines.GitHub/) |
+| ModularPipelines.Google | Helpers for interacting with the Google gcloud CLI. | [](https://www.nuget.org/packages/ModularPipelines.Google/) |
+| ModularPipelines.Helm | Helpers for interacting with Helm CLI. | [](https://www.nuget.org/packages/ModularPipelines.Helm/) |
+| ModularPipelines.Kubernetes | Helpers for interacting with kubectl CLI. | [](https://www.nuget.org/packages/ModularPipelines.Kubernetes/) |
+| ModularPipelines.MicrosoftTeams | Helpers for sending Microsoft Teams cards. | [](https://www.nuget.org/packages/ModularPipelines.MicrosoftTeams/) |
+| ModularPipelines.Node | Helpers for interacting with node / npm CLI. | [](https://www.nuget.org/packages/ModularPipelines.Node/) |
+| ModularPipelines.Slack | Helpers for sending Slack cards. | [](https://www.nuget.org/packages/ModularPipelines.Slack/) |
+| ModularPipelines.TeamCity | Helpers for interacting with TeamCity build agents. | [](https://www.nuget.org/packages/ModularPipelines.TeamCity/) |
+| ModularPipelines.Terraform | Helpers for interacting with Terraform CLI. | [](https://www.nuget.org/packages/ModularPipelines.Terraform/) |
+| ModularPipelines.WinGet | Helpers for interacting with the Windows Package Manager. | [](https://www.nuget.org/packages/ModularPipelines.WinGet/) |
+| ModularPipelines.Yarn | Helpers for interacting with Yarn CLI. | [](https://www.nuget.org/packages/ModularPipelines.Yarn/) |
+
+
+## Getting Started
+
+If you want to see how to get started, or want to know more about ModularPipelines, [read the Documentation here](https://thomhurst.github.io/ModularPipelines)
+
+## Console Progress
+
+
+
+## Results
+
+
+
+## How does this compare to Cake / Nuke
+
+* Strong types! You have complete control over what data, and what shape of data to pass around from and to different modules
+* No external tooling is required. Pipelines are run with a simple `dotnet run`
+* Full dependency injection support for your services
+* Similar and familiar setup to frameworks like ASP.NET Core
+* Real C# - Whereas frameworks like cake are a scripted form of C#
+* Parallelism - Work will run concurrently unless it is dependent on something else
+* The style of writing pipelines is very different - Work is organised into separate module classes, keeping code organised and more closely following SRP than having all your work in one main class. This also helps multiple contributors avoid things like merge conflicts
+
+## Code Examples
+
+### Program.cs - Main method
+
+```csharp
+await PipelineHostBuilder.Create()
+ .ConfigureAppConfiguration((context, builder) =>
+ {
+ builder.AddJsonFile("appsettings.json")
+ .AddUserSecrets()
+ .AddEnvironmentVariables();
+ })
+ .ConfigureServices((context, collection) =>
+ {
+ collection.Configure(context.Configuration.GetSection("NuGet"));
+ collection.Configure(context.Configuration.GetSection("Publish"));
+ collection.AddSingleton();
+ collection.AddTransient();
+ })
+ .AddModule()
+ .AddModule()
+ .ExecutePipelineAsync();
+```
+
+### Custom Modules
+
+```csharp
+public class FindNugetPackagesModule : Module
+{
+ protected override Task?> ExecuteAsync(IPipelineContext context, CancellationToken cancellationToken)
+ {
+ return context.Git()
+ .RootDirectory
+ .GetFiles(path => path.Extension is ".nupkg")
+ .ToList()
+ .AsTask();
+ }
+}
+```
+
+```csharp
+[DependsOn]
+public class UploadNugetPackagesModule : Module
+{
+ private readonly IOptions _nugetSettings;
+
+ public UploadNugetPackagesModule(IOptions nugetSettings)
+ {
+ _nugetSettings = nugetSettings;
+ }
+
+ protected override async Task ExecuteAsync(IPipelineContext context, CancellationToken cancellationToken)
+ {
+ var nugetFiles = await GetModule();
+
+ return await nugetFiles.Value!
+ .SelectAsync(async nugetFile => await context.DotNet().Nuget.Push(new DotNetNugetPushOptions
+ {
+ Path = nugetFile,
+ Source = "https://api.nuget.org/v3/index.json",
+ ApiKey = _nugetSettings.Value.ApiKey!,
+ }, cancellationToken), cancellationToken: cancellationToken)
+ .ProcessOneAtATime();
+ }
+}
+```
+
+### Breaking changes
+
+While I will try to limit breaking changes, there may be some changes within minor versions. These will be noted on release notes.
diff --git a/src/ModularPipelines.Development.Analyzers/Resources.Designer.cs b/src/ModularPipelines.Development.Analyzers/Resources.Designer.cs
new file mode 100644
index 0000000000..28f7b80ceb
--- /dev/null
+++ b/src/ModularPipelines.Development.Analyzers/Resources.Designer.cs
@@ -0,0 +1,134 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace ModularPipelines.Development.Analyzers {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ModularPipelines.Development.Analyzers.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Add `virtual` keyword.
+ ///
+ internal static string MPD0001CodeFixTitle {
+ get {
+ return ResourceManager.GetString("MPD0001CodeFixTitle", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Properties should be virtual to allow overriding.
+ ///
+ internal static string MPD0001Description {
+ get {
+ return ResourceManager.GetString("MPD0001Description", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Properties should be virtual to allow overriding.
+ ///
+ internal static string MPD0001MessageFormat {
+ get {
+ return ResourceManager.GetString("MPD0001MessageFormat", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Properties should be virtual to allow overriding.
+ ///
+ internal static string MPD0001Title {
+ get {
+ return ResourceManager.GetString("MPD0001Title", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Add `virtual` keyword.
+ ///
+ internal static string MPD0002CodeFixTitle {
+ get {
+ return ResourceManager.GetString("MPD0002CodeFixTitle", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Method should be virtual to allow overriding.
+ ///
+ internal static string MPD0002Description {
+ get {
+ return ResourceManager.GetString("MPD0002Description", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Method should be virtual to allow overriding.
+ ///
+ internal static string MPD0002MessageFormat {
+ get {
+ return ResourceManager.GetString("MPD0002MessageFormat", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Method should be virtual to allow overriding.
+ ///
+ internal static string MPD0002Title {
+ get {
+ return ResourceManager.GetString("MPD0002Title", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/src/ModularPipelines.Development.Analyzers/Resources.resx b/src/ModularPipelines.Development.Analyzers/Resources.resx
new file mode 100644
index 0000000000..35c586951c
--- /dev/null
+++ b/src/ModularPipelines.Development.Analyzers/Resources.resx
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 1.3
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Properties should be virtual to allow overridingAn optional longer localizable description of the diagnostic.
+
+
+ Properties should be virtual to allow overridingThe format-able message the diagnostic displays.
+
+
+ Properties should be virtual to allow overridingThe title of the diagnostic.
+
+
+ Add `virtual` keywordThe title of the code fix.
+
+
+ Method should be virtual to allow overridingAn optional longer localizable description of the diagnostic.
+
+
+ Method should be virtual to allow overridingThe format-able message the diagnostic displays.
+
+
+ Method should be virtual to allow overridingThe title of the diagnostic.
+
+
+ Add `virtual` keywordThe title of the code fix.
+
+
\ No newline at end of file
diff --git a/src/ModularPipelines.Development.Analyzers/VirtualCommandAnalyzer.cs b/src/ModularPipelines.Development.Analyzers/VirtualCommandAnalyzer.cs
new file mode 100644
index 0000000000..0e285a4a5a
--- /dev/null
+++ b/src/ModularPipelines.Development.Analyzers/VirtualCommandAnalyzer.cs
@@ -0,0 +1,83 @@
+using System.Collections.Immutable;
+using Microsoft.CodeAnalysis;
+using Microsoft.CodeAnalysis.CSharp;
+using Microsoft.CodeAnalysis.CSharp.Syntax;
+using Microsoft.CodeAnalysis.Diagnostics;
+
+namespace ModularPipelines.Development.Analyzers;
+
+[DiagnosticAnalyzer(LanguageNames.CSharp)]
+public class VirtualCommandAnalyzer : DiagnosticAnalyzer
+{
+ private const string Category = "Usage";
+
+ public const string DiagnosticId = "MPD0002";
+
+ private static readonly LocalizableString Title = new LocalizableResourceString(nameof(Resources.MPD0002Title),
+ Resources.ResourceManager, typeof(Resources));
+
+ private static readonly LocalizableString MessageFormat =
+ new LocalizableResourceString(nameof(Resources.MPD0002MessageFormat), Resources.ResourceManager,
+ typeof(Resources));
+
+ private static readonly LocalizableString Description =
+ new LocalizableResourceString(nameof(Resources.MPD0002Description), Resources.ResourceManager,
+ typeof(Resources));
+
+ private static readonly DiagnosticDescriptor Rule = new(DiagnosticId, Title, MessageFormat, Category,
+ DiagnosticSeverity.Warning, isEnabledByDefault: true, description: Description);
+
+ public override ImmutableArray SupportedDiagnostics { get; } = [Rule];
+
+ public override void Initialize(AnalysisContext context)
+ {
+ context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.None);
+
+ context.EnableConcurrentExecution();
+
+ context.RegisterSyntaxNodeAction(AnalyzeSyntax, SyntaxKind.MethodDeclaration);
+ }
+
+ private void AnalyzeSyntax(SyntaxNodeAnalysisContext context)
+ {
+ if (context.Node is not MethodDeclarationSyntax method)
+ {
+ return;
+ }
+
+ var methodSymbol = context.SemanticModel.GetDeclaredSymbol(method);
+
+ if (methodSymbol is null
+ || methodSymbol.IsVirtual
+ || methodSymbol.DeclaredAccessibility == Accessibility.Private
+ || methodSymbol.ContainingType.TypeKind != TypeKind.Class
+ || methodSymbol.IsAbstract
+ || methodSymbol.IsStatic
+ || methodSymbol.IsOverride
+ || methodSymbol.ContainingType.IsSealed
+ || methodSymbol.IsSealed)
+ {
+ return;
+ }
+
+ var task = context.Compilation.GetTypeByMetadataName("System.Threading.Tasks.Task`1");
+
+ var commandResult = context.Compilation.GetTypeByMetadataName("ModularPipelines.Models.CommandResult");
+
+ if (task is null || commandResult is null)
+ {
+ return;
+ }
+
+ var commandResultTask = task.Construct(commandResult);
+
+ if (!SymbolEqualityComparer.Default.Equals(methodSymbol.ReturnType, commandResultTask))
+ {
+ return;
+ }
+
+ var diagnostic = Diagnostic.Create(Rule, method.GetLocation());
+
+ context.ReportDiagnostic(diagnostic);
+ }
+}
\ No newline at end of file
diff --git a/src/ModularPipelines.Development.Analyzers/VirtualCommandCodeFixProvider.cs b/src/ModularPipelines.Development.Analyzers/VirtualCommandCodeFixProvider.cs
new file mode 100644
index 0000000000..2ff60d9275
--- /dev/null
+++ b/src/ModularPipelines.Development.Analyzers/VirtualCommandCodeFixProvider.cs
@@ -0,0 +1,87 @@
+using System.Collections.Immutable;
+using System.Composition;
+using Microsoft.CodeAnalysis;
+using Microsoft.CodeAnalysis.CodeActions;
+using Microsoft.CodeAnalysis.CodeFixes;
+using Microsoft.CodeAnalysis.CSharp.Syntax;
+using Microsoft.CodeAnalysis.Rename;
+using SyntaxFactory = Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
+using SyntaxKind = Microsoft.CodeAnalysis.CSharp.SyntaxKind;
+
+namespace ModularPipelines.Development.Analyzers;
+
+///
+/// A sample code fix provider that renames classes with the company name in their definition.
+/// All code fixes must be linked to specific analyzers.
+///
+[ExportCodeFixProvider(LanguageNames.CSharp, Name = nameof(VirtualCommandCodeFixProvider)), Shared]
+public class VirtualCommandCodeFixProvider : CodeFixProvider
+{
+ private const string CommonName = "Common";
+
+ // Specify the diagnostic IDs of analyzers that are expected to be linked.
+ public override sealed ImmutableArray FixableDiagnosticIds { get; } = [VirtualCommandAnalyzer.DiagnosticId];
+
+ // If you don't need the 'fix all' behaviour, return null.
+ public override FixAllProvider? GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
+
+ public override sealed async Task RegisterCodeFixesAsync(CodeFixContext context)
+ {
+ // We link only one diagnostic and assume there is only one diagnostic in the context.
+ var diagnostic = context.Diagnostics.Single();
+
+ // 'SourceSpan' of 'Location' is the highlighted area. We're going to use this area to find the 'SyntaxNode' to rename.
+ var diagnosticSpan = diagnostic.Location.SourceSpan;
+
+ // Get the root of Syntax Tree that contains the highlighted diagnostic.
+ var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false);
+
+ // Find SyntaxNode corresponding to the diagnostic.
+ var diagnosticNode = root?.FindNode(diagnosticSpan);
+
+ // To get the required metadata, we should match the Node to the specific type: 'ClassDeclarationSyntax'.
+ if (diagnosticNode is not MethodDeclarationSyntax declaration)
+ {
+ return;
+ }
+
+ // Register a code action that will invoke the fix.
+ context.RegisterCodeFix(
+ CodeAction.Create(
+ title: Resources.MPD0002CodeFixTitle,
+ createChangedDocument: c => AddVirtualKeyword(context.Document, declaration, c),
+ equivalenceKey: nameof(Resources.MPD0002CodeFixTitle)),
+ diagnostic);
+ }
+
+ ///
+ /// Executed on the quick fix action raised by the user.
+ ///
+ /// Affected source file.
+ /// Highlighted property declaration Syntax Node.
+ /// Any fix is cancellable by the user, so we should support the cancellation token.
+ /// Clone of the solution with updates: renamed class.
+ private static async Task AddVirtualKeyword(Document document,
+ MethodDeclarationSyntax methodDeclarationSyntax, CancellationToken cancellationToken)
+ {
+ var accessibilityModifier = methodDeclarationSyntax.Modifiers.LastOrDefault(modifier =>
+ modifier.IsKind(SyntaxKind.PublicKeyword) ||
+ modifier.IsKind(SyntaxKind.ProtectedKeyword) ||
+ modifier.IsKind(SyntaxKind.InternalKeyword) ||
+ modifier.IsKind(SyntaxKind.PrivateKeyword));
+
+ var index = Math.Max(0, methodDeclarationSyntax.Modifiers.IndexOf(accessibilityModifier) + 1);
+
+ var newMethodDeclarationSyntax = methodDeclarationSyntax.WithModifiers(
+ SyntaxFactory.TokenList(methodDeclarationSyntax.Modifiers.Insert(index, SyntaxFactory.Token(SyntaxKind.VirtualKeyword))));
+
+ var root = await document.GetSyntaxRootAsync(cancellationToken);
+
+ if (root is null)
+ {
+ return document;
+ }
+
+ return document.WithSyntaxRoot(root.ReplaceNode(methodDeclarationSyntax, newMethodDeclarationSyntax));
+ }
+}
\ No newline at end of file
diff --git a/src/ModularPipelines.Development.Analyzers/VirtualSwitchPropertyAnalyzer.cs b/src/ModularPipelines.Development.Analyzers/VirtualSwitchPropertyAnalyzer.cs
new file mode 100644
index 0000000000..9cec0e30fa
--- /dev/null
+++ b/src/ModularPipelines.Development.Analyzers/VirtualSwitchPropertyAnalyzer.cs
@@ -0,0 +1,68 @@
+using System.Collections.Immutable;
+using Microsoft.CodeAnalysis;
+using Microsoft.CodeAnalysis.CSharp;
+using Microsoft.CodeAnalysis.CSharp.Syntax;
+using Microsoft.CodeAnalysis.Diagnostics;
+
+namespace ModularPipelines.Development.Analyzers;
+
+[DiagnosticAnalyzer(LanguageNames.CSharp)]
+public class VirtualSwitchPropertyAnalyzer : DiagnosticAnalyzer
+{
+ private const string Category = "Usage";
+
+ public const string DiagnosticId = "MPD0001";
+
+ private static readonly LocalizableString Title = new LocalizableResourceString(nameof(Resources.MPD0001Title),
+ Resources.ResourceManager, typeof(Resources));
+
+ private static readonly LocalizableString MessageFormat =
+ new LocalizableResourceString(nameof(Resources.MPD0001MessageFormat), Resources.ResourceManager,
+ typeof(Resources));
+
+ private static readonly LocalizableString Description =
+ new LocalizableResourceString(nameof(Resources.MPD0001Description), Resources.ResourceManager,
+ typeof(Resources));
+
+ private static readonly DiagnosticDescriptor Rule = new(DiagnosticId, Title, MessageFormat, Category,
+ DiagnosticSeverity.Warning, isEnabledByDefault: true, description: Description);
+
+ public override ImmutableArray SupportedDiagnostics { get; } = [Rule];
+
+ public override void Initialize(AnalysisContext context)
+ {
+ context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.None);
+
+ context.EnableConcurrentExecution();
+
+ context.RegisterSyntaxNodeAction(AnalyzeSyntax, SyntaxKind.PropertyDeclaration);
+ }
+
+ private void AnalyzeSyntax(SyntaxNodeAnalysisContext context)
+ {
+ if (context.Node is not PropertyDeclarationSyntax property)
+ {
+ return;
+ }
+
+ var propertySymbol = context.SemanticModel.GetDeclaredSymbol(property);
+
+ if (propertySymbol is null)
+ {
+ return;
+ }
+
+ var attributes = propertySymbol.GetAttributes()
+ .Where(x => x.AttributeClass?.Interfaces.Any(i => i.Name == "ICommandSwitchAttribute") is true)
+ .ToList();
+
+ if (attributes.Count == 0 || propertySymbol.IsVirtual)
+ {
+ return;
+ }
+
+ var diagnostic = Diagnostic.Create(Rule, property.GetLocation());
+
+ context.ReportDiagnostic(diagnostic);
+ }
+}
\ No newline at end of file
diff --git a/src/ModularPipelines.Development.Analyzers/VirtualSwitchPropertyCodeFixProvider.cs b/src/ModularPipelines.Development.Analyzers/VirtualSwitchPropertyCodeFixProvider.cs
new file mode 100644
index 0000000000..469158834f
--- /dev/null
+++ b/src/ModularPipelines.Development.Analyzers/VirtualSwitchPropertyCodeFixProvider.cs
@@ -0,0 +1,79 @@
+using System.Collections.Immutable;
+using System.Composition;
+using Microsoft.CodeAnalysis;
+using Microsoft.CodeAnalysis.CodeActions;
+using Microsoft.CodeAnalysis.CodeFixes;
+using Microsoft.CodeAnalysis.CSharp.Syntax;
+using Microsoft.CodeAnalysis.Rename;
+using SyntaxFactory = Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
+using SyntaxKind = Microsoft.CodeAnalysis.CSharp.SyntaxKind;
+
+namespace ModularPipelines.Development.Analyzers;
+
+///
+/// A sample code fix provider that renames classes with the company name in their definition.
+/// All code fixes must be linked to specific analyzers.
+///
+[ExportCodeFixProvider(LanguageNames.CSharp, Name = nameof(VirtualSwitchPropertyCodeFixProvider)), Shared]
+public class VirtualSwitchPropertyCodeFixProvider : CodeFixProvider
+{
+ private const string CommonName = "Common";
+
+ // Specify the diagnostic IDs of analyzers that are expected to be linked.
+ public override sealed ImmutableArray FixableDiagnosticIds { get; } = [VirtualSwitchPropertyAnalyzer.DiagnosticId];
+
+ // If you don't need the 'fix all' behaviour, return null.
+ public override FixAllProvider? GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
+
+ public override sealed async Task RegisterCodeFixesAsync(CodeFixContext context)
+ {
+ // We link only one diagnostic and assume there is only one diagnostic in the context.
+ var diagnostic = context.Diagnostics.Single();
+
+ // 'SourceSpan' of 'Location' is the highlighted area. We're going to use this area to find the 'SyntaxNode' to rename.
+ var diagnosticSpan = diagnostic.Location.SourceSpan;
+
+ // Get the root of Syntax Tree that contains the highlighted diagnostic.
+ var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false);
+
+ // Find SyntaxNode corresponding to the diagnostic.
+ var diagnosticNode = root?.FindNode(diagnosticSpan);
+
+ // To get the required metadata, we should match the Node to the specific type: 'ClassDeclarationSyntax'.
+ if (diagnosticNode is not PropertyDeclarationSyntax declaration)
+ {
+ return;
+ }
+
+ // Register a code action that will invoke the fix.
+ context.RegisterCodeFix(
+ CodeAction.Create(
+ title: Resources.MPD0001CodeFixTitle,
+ createChangedDocument: c => AddVirtualKeyword(context.Document, declaration, c),
+ equivalenceKey: nameof(Resources.MPD0001CodeFixTitle)),
+ diagnostic);
+ }
+
+ ///
+ /// Executed on the quick fix action raised by the user.
+ ///
+ /// Affected source file.
+ /// Highlighted property declaration Syntax Node.
+ /// Any fix is cancellable by the user, so we should support the cancellation token.
+ /// Clone of the solution with updates: renamed class.
+ private static async Task AddVirtualKeyword(Document document,
+ PropertyDeclarationSyntax propertyDeclarationSyntax, CancellationToken cancellationToken)
+ {
+ var newPropertyDeclarationSyntax = propertyDeclarationSyntax.WithModifiers(
+ SyntaxFactory.TokenList(propertyDeclarationSyntax.Modifiers.Add(SyntaxFactory.Token(SyntaxKind.VirtualKeyword))));
+
+ var root = await document.GetSyntaxRootAsync(cancellationToken);
+
+ if (root is null)
+ {
+ return document;
+ }
+
+ return document.WithSyntaxRoot(root.ReplaceNode(propertyDeclarationSyntax, newPropertyDeclarationSyntax));
+ }
+}
\ No newline at end of file
diff --git a/src/ModularPipelines.Docker/Options/DockerBuilderPruneOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuilderPruneOptions.cs
index 038983e602..3f791fcd85 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuilderPruneOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuilderPruneOptions.cs
@@ -8,14 +8,14 @@ namespace ModularPipelines.Docker.Options;
public record DockerBuilderPruneOptions : DockerOptions
{
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
[CommandSwitch("--keep-storage")]
- public string? KeepStorage { get; set; }
+ public virtual string? KeepStorage { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxBakeOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxBakeOptions.cs
index db3e15b54d..2ca10f7091 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxBakeOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxBakeOptions.cs
@@ -11,35 +11,35 @@ public record DockerBuildxBakeOptions : DockerOptions
public IEnumerable? Target { get; set; }
[CommandSwitch("--file")]
- public string? File { get; set; }
+ public virtual string? File { get; set; }
[CommandSwitch("--load")]
- public string? Load { get; set; }
+ public virtual string? Load { get; set; }
[CommandSwitch("--metadata-file")]
- public string? MetadataFile { get; set; }
+ public virtual string? MetadataFile { get; set; }
[BooleanCommandSwitch("--no-cache")]
- public bool? NoCache { get; set; }
+ public virtual bool? NoCache { get; set; }
[CommandSwitch("--print")]
- public string? Print { get; set; }
+ public virtual string? Print { get; set; }
[CommandSwitch("--progress")]
- public string? Progress { get; set; }
+ public virtual string? Progress { get; set; }
[CommandSwitch("--provenance")]
- public string? Provenance { get; set; }
+ public virtual string? Provenance { get; set; }
[BooleanCommandSwitch("--pull")]
- public bool? Pull { get; set; }
+ public virtual bool? Pull { get; set; }
[BooleanCommandSwitch("--push")]
- public bool? Push { get; set; }
+ public virtual bool? Push { get; set; }
[BooleanCommandSwitch("--sbom")]
- public bool? Sbom { get; set; }
+ public virtual bool? Sbom { get; set; }
[CommandSwitch("--set")]
- public string? Set { get; set; }
+ public virtual string? Set { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxBuildOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxBuildOptions.cs
index 1ef34e9ebe..e53e55d994 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxBuildOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxBuildOptions.cs
@@ -20,146 +20,146 @@ string pathOrUrl
public string? PathOrUrl { get; set; }
[CommandSwitch("--add-host")]
- public string? AddHost { get; set; }
+ public virtual string? AddHost { get; set; }
[CommandSwitch("--allow")]
- public string? Allow { get; set; }
+ public virtual string? Allow { get; set; }
[CommandSwitch("--annotation")]
- public string? Annotation { get; set; }
+ public virtual string? Annotation { get; set; }
[CommandSwitch("--attest")]
- public string? Attest { get; set; }
+ public virtual string? Attest { get; set; }
[CommandSwitch("--build-arg")]
- public IEnumerable? BuildArg { get; set; }
+ public virtual IEnumerable? BuildArg { get; set; }
[CommandSwitch("--build-context")]
- public string? BuildContext { get; set; }
+ public virtual string? BuildContext { get; set; }
[CommandSwitch("--cache-from")]
- public string? CacheFrom { get; set; }
+ public virtual string? CacheFrom { get; set; }
[CommandSwitch("--cache-to")]
- public string? CacheTo { get; set; }
+ public virtual string? CacheTo { get; set; }
[CommandSwitch("--cgroup-parent")]
- public string? CgroupParent { get; set; }
+ public virtual string? CgroupParent { get; set; }
[BooleanCommandSwitch("--compress")]
- public bool? Compress { get; set; }
+ public virtual bool? Compress { get; set; }
[CommandSwitch("--cpu-period")]
- public string? CpuPeriod { get; set; }
+ public virtual string? CpuPeriod { get; set; }
[CommandSwitch("--cpu-quota")]
- public string? CpuQuota { get; set; }
+ public virtual string? CpuQuota { get; set; }
[CommandSwitch("--cpu-shares")]
- public string? CpuShares { get; set; }
+ public virtual string? CpuShares { get; set; }
[CommandSwitch("--cpuset-cpus")]
- public string? CpusetCpus { get; set; }
+ public virtual string? CpusetCpus { get; set; }
[CommandSwitch("--cpuset-mems")]
- public string? CpusetMems { get; set; }
+ public virtual string? CpusetMems { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[CommandSwitch("--file")]
- public string? File { get; set; }
+ public virtual string? File { get; set; }
[BooleanCommandSwitch("--force-rm")]
- public bool? ForceRm { get; set; }
+ public virtual bool? ForceRm { get; set; }
[CommandSwitch("--iidfile")]
- public string? Iidfile { get; set; }
+ public virtual string? Iidfile { get; set; }
[BooleanCommandSwitch("--isolation")]
- public bool? Isolation { get; set; }
+ public virtual bool? Isolation { get; set; }
[CommandSwitch("--label")]
- public string? Label { get; set; }
+ public virtual string? Label { get; set; }
[CommandSwitch("--load")]
- public string? Load { get; set; }
+ public virtual string? Load { get; set; }
[CommandSwitch("--memory")]
- public string? Memory { get; set; }
+ public virtual string? Memory { get; set; }
[CommandSwitch("--memory-swap")]
- public string? MemorySwap { get; set; }
+ public virtual string? MemorySwap { get; set; }
[CommandSwitch("--metadata-file")]
- public string? MetadataFile { get; set; }
+ public virtual string? MetadataFile { get; set; }
[CommandSwitch("--network")]
- public string? Network { get; set; }
+ public virtual string? Network { get; set; }
[BooleanCommandSwitch("--no-cache")]
- public bool? NoCache { get; set; }
+ public virtual bool? NoCache { get; set; }
[CommandSwitch("--no-cache-filter")]
- public string? NoCacheFilter { get; set; }
+ public virtual string? NoCacheFilter { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[CommandSwitch("--print")]
- public string? Print { get; set; }
+ public virtual string? Print { get; set; }
[CommandSwitch("--progress")]
- public string? Progress { get; set; }
+ public virtual string? Progress { get; set; }
[CommandSwitch("--provenance")]
- public string? Provenance { get; set; }
+ public virtual string? Provenance { get; set; }
[BooleanCommandSwitch("--pull")]
- public bool? Pull { get; set; }
+ public virtual bool? Pull { get; set; }
[BooleanCommandSwitch("--push")]
- public bool? Push { get; set; }
+ public virtual bool? Push { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[BooleanCommandSwitch("--rm")]
- public bool? Rm { get; set; }
+ public virtual bool? Rm { get; set; }
[CommandSwitch("--root")]
- public string? Root { get; set; }
+ public virtual string? Root { get; set; }
[BooleanCommandSwitch("--sbom")]
- public bool? Sbom { get; set; }
+ public virtual bool? Sbom { get; set; }
[CommandSwitch("--secret")]
- public string? Secret { get; set; }
+ public virtual string? Secret { get; set; }
[CommandSwitch("--security-opt")]
- public string? SecurityOpt { get; set; }
+ public virtual string? SecurityOpt { get; set; }
[CommandSwitch("--server-config")]
- public string? ServerConfig { get; set; }
+ public virtual string? ServerConfig { get; set; }
[CommandSwitch("--shm-size")]
- public string? ShmSize { get; set; }
+ public virtual string? ShmSize { get; set; }
[BooleanCommandSwitch("--squash")]
- public bool? Squash { get; set; }
+ public virtual bool? Squash { get; set; }
[CommandSwitch("--ssh")]
- public string? Ssh { get; set; }
+ public virtual string? Ssh { get; set; }
[CommandSwitch("--tag")]
- public string? Tag { get; set; }
+ public virtual string? Tag { get; set; }
[CommandSwitch("--target")]
- public string? Target { get; set; }
+ public virtual string? Target { get; set; }
[CommandSwitch("--ulimit")]
- public string? Ulimit { get; set; }
+ public virtual string? Ulimit { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxCreateOptions.cs
index d2d86f3359..e7a1b5026f 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxCreateOptions.cs
@@ -11,35 +11,35 @@ public record DockerBuildxCreateOptions : DockerOptions
public string? ContextOrEndpoint { get; set; }
[CommandSwitch("--append")]
- public string? Append { get; set; }
+ public virtual string? Append { get; set; }
[CommandSwitch("--bootstrap")]
- public string? Bootstrap { get; set; }
+ public virtual string? Bootstrap { get; set; }
[CommandSwitch("--builder")]
- public string? Builder { get; set; }
+ public virtual string? Builder { get; set; }
[CommandSwitch("--buildkitd-flags")]
- public string? BuildkitdFlags { get; set; }
+ public virtual string? BuildkitdFlags { get; set; }
[CommandSwitch("--driver")]
- public string? Driver { get; set; }
+ public virtual string? Driver { get; set; }
[CommandSwitch("--driver-opt")]
- public string? DriverOpt { get; set; }
+ public virtual string? DriverOpt { get; set; }
[CommandSwitch("--leave")]
- public string? Leave { get; set; }
+ public virtual string? Leave { get; set; }
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--node")]
- public string? Node { get; set; }
+ public virtual string? Node { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[CommandSwitch("--use")]
- public string? Use { get; set; }
+ public virtual string? Use { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxDebugBuildOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxDebugBuildOptions.cs
index e47a592e37..c526744f82 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxDebugBuildOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxDebugBuildOptions.cs
@@ -20,146 +20,146 @@ string pathOrUrl
public string? PathOrUrl { get; set; }
[CommandSwitch("--add-host")]
- public string? AddHost { get; set; }
+ public virtual string? AddHost { get; set; }
[CommandSwitch("--allow")]
- public string? Allow { get; set; }
+ public virtual string? Allow { get; set; }
[CommandSwitch("--annotation")]
- public string? Annotation { get; set; }
+ public virtual string? Annotation { get; set; }
[CommandSwitch("--attest")]
- public string? Attest { get; set; }
+ public virtual string? Attest { get; set; }
[CommandSwitch("--build-arg")]
- public IEnumerable? BuildArg { get; set; }
+ public virtual IEnumerable? BuildArg { get; set; }
[CommandSwitch("--build-context")]
- public string? BuildContext { get; set; }
+ public virtual string? BuildContext { get; set; }
[CommandSwitch("--cache-from")]
- public string? CacheFrom { get; set; }
+ public virtual string? CacheFrom { get; set; }
[CommandSwitch("--cache-to")]
- public string? CacheTo { get; set; }
+ public virtual string? CacheTo { get; set; }
[CommandSwitch("--cgroup-parent")]
- public string? CgroupParent { get; set; }
+ public virtual string? CgroupParent { get; set; }
[BooleanCommandSwitch("--compress")]
- public bool? Compress { get; set; }
+ public virtual bool? Compress { get; set; }
[CommandSwitch("--cpu-period")]
- public string? CpuPeriod { get; set; }
+ public virtual string? CpuPeriod { get; set; }
[CommandSwitch("--cpu-quota")]
- public string? CpuQuota { get; set; }
+ public virtual string? CpuQuota { get; set; }
[CommandSwitch("--cpu-shares")]
- public string? CpuShares { get; set; }
+ public virtual string? CpuShares { get; set; }
[CommandSwitch("--cpuset-cpus")]
- public string? CpusetCpus { get; set; }
+ public virtual string? CpusetCpus { get; set; }
[CommandSwitch("--cpuset-mems")]
- public string? CpusetMems { get; set; }
+ public virtual string? CpusetMems { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[CommandSwitch("--file")]
- public string? File { get; set; }
+ public virtual string? File { get; set; }
[BooleanCommandSwitch("--force-rm")]
- public bool? ForceRm { get; set; }
+ public virtual bool? ForceRm { get; set; }
[CommandSwitch("--iidfile")]
- public string? Iidfile { get; set; }
+ public virtual string? Iidfile { get; set; }
[BooleanCommandSwitch("--isolation")]
- public bool? Isolation { get; set; }
+ public virtual bool? Isolation { get; set; }
[CommandSwitch("--label")]
- public string? Label { get; set; }
+ public virtual string? Label { get; set; }
[CommandSwitch("--load")]
- public string? Load { get; set; }
+ public virtual string? Load { get; set; }
[CommandSwitch("--memory")]
- public string? Memory { get; set; }
+ public virtual string? Memory { get; set; }
[CommandSwitch("--memory-swap")]
- public string? MemorySwap { get; set; }
+ public virtual string? MemorySwap { get; set; }
[CommandSwitch("--metadata-file")]
- public string? MetadataFile { get; set; }
+ public virtual string? MetadataFile { get; set; }
[CommandSwitch("--network")]
- public string? Network { get; set; }
+ public virtual string? Network { get; set; }
[BooleanCommandSwitch("--no-cache")]
- public bool? NoCache { get; set; }
+ public virtual bool? NoCache { get; set; }
[CommandSwitch("--no-cache-filter")]
- public string? NoCacheFilter { get; set; }
+ public virtual string? NoCacheFilter { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[CommandSwitch("--print")]
- public string? Print { get; set; }
+ public virtual string? Print { get; set; }
[CommandSwitch("--progress")]
- public string? Progress { get; set; }
+ public virtual string? Progress { get; set; }
[CommandSwitch("--provenance")]
- public string? Provenance { get; set; }
+ public virtual string? Provenance { get; set; }
[BooleanCommandSwitch("--pull")]
- public bool? Pull { get; set; }
+ public virtual bool? Pull { get; set; }
[BooleanCommandSwitch("--push")]
- public bool? Push { get; set; }
+ public virtual bool? Push { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[BooleanCommandSwitch("--rm")]
- public bool? Rm { get; set; }
+ public virtual bool? Rm { get; set; }
[CommandSwitch("--root")]
- public string? Root { get; set; }
+ public virtual string? Root { get; set; }
[BooleanCommandSwitch("--sbom")]
- public bool? Sbom { get; set; }
+ public virtual bool? Sbom { get; set; }
[CommandSwitch("--secret")]
- public string? Secret { get; set; }
+ public virtual string? Secret { get; set; }
[CommandSwitch("--security-opt")]
- public string? SecurityOpt { get; set; }
+ public virtual string? SecurityOpt { get; set; }
[CommandSwitch("--server-config")]
- public string? ServerConfig { get; set; }
+ public virtual string? ServerConfig { get; set; }
[CommandSwitch("--shm-size")]
- public string? ShmSize { get; set; }
+ public virtual string? ShmSize { get; set; }
[BooleanCommandSwitch("--squash")]
- public bool? Squash { get; set; }
+ public virtual bool? Squash { get; set; }
[CommandSwitch("--ssh")]
- public string? Ssh { get; set; }
+ public virtual string? Ssh { get; set; }
[CommandSwitch("--tag")]
- public string? Tag { get; set; }
+ public virtual string? Tag { get; set; }
[CommandSwitch("--target")]
- public string? Target { get; set; }
+ public virtual string? Target { get; set; }
[CommandSwitch("--ulimit")]
- public string? Ulimit { get; set; }
+ public virtual string? Ulimit { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxDebugOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxDebugOptions.cs
index cdec7fa39d..47bab747f9 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxDebugOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxDebugOptions.cs
@@ -8,20 +8,20 @@ namespace ModularPipelines.Docker.Options;
public record DockerBuildxDebugOptions : DockerOptions
{
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[CommandSwitch("--invoke")]
- public string? Invoke { get; set; }
+ public virtual string? Invoke { get; set; }
[CommandSwitch("--on")]
- public string? On { get; set; }
+ public virtual string? On { get; set; }
[CommandSwitch("--progress")]
- public string? Progress { get; set; }
+ public virtual string? Progress { get; set; }
[CommandSwitch("--root")]
- public string? Root { get; set; }
+ public virtual string? Root { get; set; }
[CommandSwitch("--server-config")]
- public string? ServerConfig { get; set; }
+ public virtual string? ServerConfig { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxDuOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxDuOptions.cs
index d8c5481ac9..d7ab1da0cb 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxDuOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxDuOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerBuildxDuOptions : DockerOptions
{
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--verbose")]
- public string? Verbose { get; set; }
+ public virtual string? Verbose { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxImagetoolsCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxImagetoolsCreateOptions.cs
index 45795411f8..954561df03 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxImagetoolsCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxImagetoolsCreateOptions.cs
@@ -11,20 +11,20 @@ public record DockerBuildxImagetoolsCreateOptions : DockerOptions
public string? Source { get; set; }
[CommandSwitch("--annotation")]
- public string? Annotation { get; set; }
+ public virtual string? Annotation { get; set; }
[CommandSwitch("--append")]
- public string? Append { get; set; }
+ public virtual string? Append { get; set; }
[BooleanCommandSwitch("--dry-run")]
- public bool? DryRun { get; set; }
+ public virtual bool? DryRun { get; set; }
[CommandSwitch("--file")]
- public string? File { get; set; }
+ public virtual string? File { get; set; }
[CommandSwitch("--progress")]
- public string? Progress { get; set; }
+ public virtual string? Progress { get; set; }
[CommandSwitch("--tag")]
- public string? Tag { get; set; }
+ public virtual string? Tag { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxImagetoolsInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxImagetoolsInspectOptions.cs
index f1566eb64f..6334e3fbab 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxImagetoolsInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxImagetoolsInspectOptions.cs
@@ -19,8 +19,8 @@ string name
public string? Name { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--raw")]
- public bool? Raw { get; set; }
+ public virtual bool? Raw { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxInspectOptions.cs
index 266162b6db..a1c4e7111a 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxInspectOptions.cs
@@ -11,5 +11,5 @@ public record DockerBuildxInspectOptions : DockerOptions
public string? Name { get; set; }
[CommandSwitch("--bootstrap")]
- public string? Bootstrap { get; set; }
+ public virtual string? Bootstrap { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxLsOptions.cs
index 43d8f0c6e8..6ff67f0a12 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxLsOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerBuildxLsOptions : DockerOptions
{
[CommandSwitch("--builder")]
- public string? Builder { get; set; }
+ public virtual string? Builder { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxOptions.cs
index 189df5b2e2..33c22aeae9 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Docker.Options;
public record DockerBuildxOptions : DockerOptions
{
[CommandSwitch("--builder")]
- public string? Builder { get; set; }
+ public virtual string? Builder { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxPruneOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxPruneOptions.cs
index e14bc3c9c4..b998f1f31b 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxPruneOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxPruneOptions.cs
@@ -8,17 +8,17 @@ namespace ModularPipelines.Docker.Options;
public record DockerBuildxPruneOptions : DockerOptions
{
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
[CommandSwitch("--keep-storage")]
- public string? KeepStorage { get; set; }
+ public virtual string? KeepStorage { get; set; }
[CommandSwitch("--verbose")]
- public string? Verbose { get; set; }
+ public virtual string? Verbose { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxRmOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxRmOptions.cs
index 8e0614537e..f4f403c9ba 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxRmOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxRmOptions.cs
@@ -11,14 +11,14 @@ public record DockerBuildxRmOptions : DockerOptions
public string? Name { get; set; }
[CommandSwitch("--all-inactive")]
- public string? AllInactive { get; set; }
+ public virtual string? AllInactive { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
[CommandSwitch("--keep-daemon")]
- public string? KeepDaemon { get; set; }
+ public virtual string? KeepDaemon { get; set; }
[CommandSwitch("--keep-state")]
- public string? KeepState { get; set; }
+ public virtual string? KeepState { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxUseOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxUseOptions.cs
index 31b2ed6215..9edced0117 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxUseOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxUseOptions.cs
@@ -19,8 +19,8 @@ string name
public string? Name { get; set; }
[CommandSwitch("--default")]
- public string? Default { get; set; }
+ public virtual string? Default { get; set; }
[CommandSwitch("--global")]
- public string? Global { get; set; }
+ public virtual string? Global { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerBuildxVersionOptions.cs b/src/ModularPipelines.Docker/Options/DockerBuildxVersionOptions.cs
index 83d9ca3883..39297e3235 100644
--- a/src/ModularPipelines.Docker/Options/DockerBuildxVersionOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerBuildxVersionOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Docker.Options;
public record DockerBuildxVersionOptions : DockerOptions
{
[CommandSwitch("--builder")]
- public string? Builder { get; set; }
+ public virtual string? Builder { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerCheckpointCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerCheckpointCreateOptions.cs
index ab92d35c2b..a1c38cc37a 100644
--- a/src/ModularPipelines.Docker/Options/DockerCheckpointCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerCheckpointCreateOptions.cs
@@ -25,8 +25,8 @@ string checkpoint
public string? Checkpoint { get; set; }
[CommandSwitch("--checkpoint-dir")]
- public string? CheckpointDir { get; set; }
+ public virtual string? CheckpointDir { get; set; }
[CommandSwitch("--leave-running")]
- public string? LeaveRunning { get; set; }
+ public virtual string? LeaveRunning { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerCheckpointLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerCheckpointLsOptions.cs
index d897cc17fd..c95ec8726a 100644
--- a/src/ModularPipelines.Docker/Options/DockerCheckpointLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerCheckpointLsOptions.cs
@@ -19,5 +19,5 @@ string container
public string? Container { get; set; }
[CommandSwitch("--checkpoint-dir")]
- public string? CheckpointDir { get; set; }
+ public virtual string? CheckpointDir { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerCheckpointRmOptions.cs b/src/ModularPipelines.Docker/Options/DockerCheckpointRmOptions.cs
index db888e1543..18a0ebff5e 100644
--- a/src/ModularPipelines.Docker/Options/DockerCheckpointRmOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerCheckpointRmOptions.cs
@@ -25,5 +25,5 @@ string checkpoint
public string? Checkpoint { get; set; }
[CommandSwitch("--checkpoint-dir")]
- public string? CheckpointDir { get; set; }
+ public virtual string? CheckpointDir { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeAlphaPublishOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeAlphaPublishOptions.cs
index d16cbcad5d..be2c445faa 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeAlphaPublishOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeAlphaPublishOptions.cs
@@ -11,8 +11,8 @@ public record DockerComposeAlphaPublishOptions : DockerOptions
public string? Repository { get; set; }
[CommandSwitch("--oci-version")]
- public string? OciVersion { get; set; }
+ public virtual string? OciVersion { get; set; }
[CommandSwitch("--resolve-image-digests")]
- public string? ResolveImageDigests { get; set; }
+ public virtual string? ResolveImageDigests { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeAlphaScaleOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeAlphaScaleOptions.cs
index 2f71b8fd3a..5abc06e7a9 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeAlphaScaleOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeAlphaScaleOptions.cs
@@ -12,5 +12,5 @@ public record DockerComposeAlphaScaleOptions : DockerOptions
public IEnumerable? ServiceReplicas { get; set; }
[BooleanCommandSwitch("--no-deps")]
- public bool? NoDeps { get; set; }
+ public virtual bool? NoDeps { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeAlphaVizOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeAlphaVizOptions.cs
index 1ea6361f0f..55a4e89146 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeAlphaVizOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeAlphaVizOptions.cs
@@ -8,17 +8,17 @@ namespace ModularPipelines.Docker.Options;
public record DockerComposeAlphaVizOptions : DockerOptions
{
[CommandSwitch("--image")]
- public string? Image { get; set; }
+ public virtual string? Image { get; set; }
[CommandSwitch("--indentation-size")]
- public int? IndentationSize { get; set; }
+ public virtual int? IndentationSize { get; set; }
[CommandSwitch("--networks")]
- public string? Networks { get; set; }
+ public virtual string? Networks { get; set; }
[CommandSwitch("--ports")]
- public string? Ports { get; set; }
+ public virtual string? Ports { get; set; }
[CommandSwitch("--spaces")]
- public string? Spaces { get; set; }
+ public virtual string? Spaces { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeBuildOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeBuildOptions.cs
index 88887b3a0d..fc1796f7d7 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeBuildOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeBuildOptions.cs
@@ -12,44 +12,44 @@ public record DockerComposeBuildOptions : DockerOptions
public IEnumerable? Service { get; set; }
[CommandSwitch("--build-arg")]
- public IEnumerable? BuildArg { get; set; }
+ public virtual IEnumerable? BuildArg { get; set; }
[CommandSwitch("--builder")]
- public string? Builder { get; set; }
+ public virtual string? Builder { get; set; }
[BooleanCommandSwitch("--compress")]
- public bool? Compress { get; set; }
+ public virtual bool? Compress { get; set; }
[BooleanCommandSwitch("--force-rm")]
- public bool? ForceRm { get; set; }
+ public virtual bool? ForceRm { get; set; }
[CommandSwitch("--memory")]
- public string? Memory { get; set; }
+ public virtual string? Memory { get; set; }
[BooleanCommandSwitch("--no-cache")]
- public bool? NoCache { get; set; }
+ public virtual bool? NoCache { get; set; }
[CommandSwitch("--no-rm")]
- public string? NoRm { get; set; }
+ public virtual string? NoRm { get; set; }
[BooleanCommandSwitch("--parallel")]
- public bool? Parallel { get; set; }
+ public virtual bool? Parallel { get; set; }
[CommandSwitch("--progress")]
- public string? Progress { get; set; }
+ public virtual string? Progress { get; set; }
[BooleanCommandSwitch("--pull")]
- public bool? Pull { get; set; }
+ public virtual bool? Pull { get; set; }
[BooleanCommandSwitch("--push")]
- public bool? Push { get; set; }
+ public virtual bool? Push { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[CommandSwitch("--ssh")]
- public string? Ssh { get; set; }
+ public virtual string? Ssh { get; set; }
[CommandSwitch("--with-dependencies")]
- public string? WithDependencies { get; set; }
+ public virtual string? WithDependencies { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeConfigOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeConfigOptions.cs
index ce8d8ed1ef..1feaa9274f 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeConfigOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeConfigOptions.cs
@@ -11,41 +11,41 @@ public record DockerComposeConfigOptions : DockerOptions
public IEnumerable? Service { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--hash")]
- public bool? Hash { get; set; }
+ public virtual bool? Hash { get; set; }
[CommandSwitch("--images")]
- public string? Images { get; set; }
+ public virtual string? Images { get; set; }
[BooleanCommandSwitch("--no-consistency")]
- public bool? NoConsistency { get; set; }
+ public virtual bool? NoConsistency { get; set; }
[BooleanCommandSwitch("--no-interpolate")]
- public bool? NoInterpolate { get; set; }
+ public virtual bool? NoInterpolate { get; set; }
[BooleanCommandSwitch("--no-normalize")]
- public bool? NoNormalize { get; set; }
+ public virtual bool? NoNormalize { get; set; }
[BooleanCommandSwitch("--no-path-resolution")]
- public bool? NoPathResolution { get; set; }
+ public virtual bool? NoPathResolution { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
[CommandSwitch("--profiles")]
- public string? Profiles { get; set; }
+ public virtual string? Profiles { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[CommandSwitch("--resolve-image-digests")]
- public string? ResolveImageDigests { get; set; }
+ public virtual string? ResolveImageDigests { get; set; }
[CommandSwitch("--services")]
- public string? Services { get; set; }
+ public virtual string? Services { get; set; }
[CommandSwitch("--volumes")]
- public string? Volumes { get; set; }
+ public virtual string? Volumes { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeCpOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeCpOptions.cs
index 3048c3521a..b9ea00eba2 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeCpOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeCpOptions.cs
@@ -46,14 +46,14 @@ string srcPath
public string? SrcPath { get; set; }
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--archive")]
- public string? Archive { get; set; }
+ public virtual string? Archive { get; set; }
[CommandSwitch("--follow-link")]
- public string? FollowLink { get; set; }
+ public virtual string? FollowLink { get; set; }
[CommandSwitch("--index")]
- public string? Index { get; set; }
+ public virtual string? Index { get; set; }
}
\ No newline at end of file
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeCreateOptions.cs
index a719115263..bd03e4cb89 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeCreateOptions.cs
@@ -11,23 +11,23 @@ public record DockerComposeCreateOptions : DockerOptions
public IEnumerable? Service { get; set; }
[BooleanCommandSwitch("--build")]
- public bool? Build { get; set; }
+ public virtual bool? Build { get; set; }
[BooleanCommandSwitch("--force-recreate")]
- public bool? ForceRecreate { get; set; }
+ public virtual bool? ForceRecreate { get; set; }
[BooleanCommandSwitch("--no-build")]
- public bool? NoBuild { get; set; }
+ public virtual bool? NoBuild { get; set; }
[BooleanCommandSwitch("--no-recreate")]
- public bool? NoRecreate { get; set; }
+ public virtual bool? NoRecreate { get; set; }
[BooleanCommandSwitch("--pull")]
- public bool? Pull { get; set; }
+ public virtual bool? Pull { get; set; }
[BooleanCommandSwitch("--remove-orphans")]
- public bool? RemoveOrphans { get; set; }
+ public virtual bool? RemoveOrphans { get; set; }
[CommandSwitch("--scale")]
- public string? Scale { get; set; }
+ public virtual string? Scale { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeDownOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeDownOptions.cs
index 04f58a3401..f15afac101 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeDownOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeDownOptions.cs
@@ -11,14 +11,14 @@ public record DockerComposeDownOptions : DockerOptions
public string? Services { get; set; }
[BooleanCommandSwitch("--remove-orphans")]
- public bool? RemoveOrphans { get; set; }
+ public virtual bool? RemoveOrphans { get; set; }
[BooleanCommandSwitch("--rmi")]
- public bool? Rmi { get; set; }
+ public virtual bool? Rmi { get; set; }
[CommandSwitch("--timeout")]
- public string? Timeout { get; set; }
+ public virtual string? Timeout { get; set; }
[CommandSwitch("--volumes")]
- public string? Volumes { get; set; }
+ public virtual string? Volumes { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeEventsOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeEventsOptions.cs
index 42c102ffdd..0b72ada2ba 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeEventsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeEventsOptions.cs
@@ -11,5 +11,5 @@ public record DockerComposeEventsOptions : DockerOptions
public IEnumerable? Service { get; set; }
[CommandSwitch("--json")]
- public string? Json { get; set; }
+ public virtual string? Json { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeExecOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeExecOptions.cs
index 7a642b9a42..f3073993ac 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeExecOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeExecOptions.cs
@@ -28,29 +28,29 @@ string command
public IEnumerable? Args { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[CommandSwitch("--env")]
- public string? Env { get; set; }
+ public virtual string? Env { get; set; }
[CommandSwitch("--index")]
- public string? Index { get; set; }
+ public virtual string? Index { get; set; }
[BooleanCommandSwitch("--interactive")]
- public bool? Interactive { get; set; }
+ public virtual bool? Interactive { get; set; }
[BooleanCommandSwitch("--no-TTY")]
- public bool? NoTty { get; set; }
+ public virtual bool? NoTty { get; set; }
[BooleanCommandSwitch("--privileged")]
- public bool? Privileged { get; set; }
+ public virtual bool? Privileged { get; set; }
[BooleanCommandSwitch("--tty")]
- public bool? Tty { get; set; }
+ public virtual bool? Tty { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--workdir")]
- public string? Workdir { get; set; }
+ public virtual string? Workdir { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeImagesOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeImagesOptions.cs
index 281b90026a..14506d4a95 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeImagesOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeImagesOptions.cs
@@ -11,8 +11,8 @@ public record DockerComposeImagesOptions : DockerOptions
public IEnumerable? Service { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeKillOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeKillOptions.cs
index befa6ea220..5a36063d8a 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeKillOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeKillOptions.cs
@@ -11,8 +11,8 @@ public record DockerComposeKillOptions : DockerOptions
public IEnumerable? Service { get; set; }
[BooleanCommandSwitch("--remove-orphans")]
- public bool? RemoveOrphans { get; set; }
+ public virtual bool? RemoveOrphans { get; set; }
[CommandSwitch("--signal")]
- public string? Signal { get; set; }
+ public virtual string? Signal { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeLogsOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeLogsOptions.cs
index acb21adad4..3032330b1d 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeLogsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeLogsOptions.cs
@@ -11,26 +11,26 @@ public record DockerComposeLogsOptions : DockerOptions
public IEnumerable? Service { get; set; }
[BooleanCommandSwitch("--follow")]
- public bool? Follow { get; set; }
+ public virtual bool? Follow { get; set; }
[CommandSwitch("--index")]
- public string? Index { get; set; }
+ public virtual string? Index { get; set; }
[BooleanCommandSwitch("--no-color")]
- public bool? NoColor { get; set; }
+ public virtual bool? NoColor { get; set; }
[CommandSwitch("--no-log-prefix")]
- public string? NoLogPrefix { get; set; }
+ public virtual string? NoLogPrefix { get; set; }
[CommandSwitch("--since")]
- public string? Since { get; set; }
+ public virtual string? Since { get; set; }
[CommandSwitch("--tail")]
- public string? Tail { get; set; }
+ public virtual string? Tail { get; set; }
[BooleanCommandSwitch("--timestamps")]
- public bool? Timestamps { get; set; }
+ public virtual bool? Timestamps { get; set; }
[CommandSwitch("--until")]
- public string? Until { get; set; }
+ public virtual string? Until { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeLsOptions.cs
index ad62c3f8dc..98c9f5da25 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeLsOptions.cs
@@ -8,14 +8,14 @@ namespace ModularPipelines.Docker.Options;
public record DockerComposeLsOptions : DockerOptions
{
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeOptions.cs
index e5bbf1cffe..f42a4f9116 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeOptions.cs
@@ -8,44 +8,44 @@ namespace ModularPipelines.Docker.Options;
public record DockerComposeOptions : DockerOptions
{
[CommandSwitch("--ansi")]
- public string? Ansi { get; set; }
+ public virtual string? Ansi { get; set; }
[CommandSwitch("--compatibility")]
- public string? Compatibility { get; set; }
+ public virtual string? Compatibility { get; set; }
[BooleanCommandSwitch("--dry-run")]
- public bool? DryRun { get; set; }
+ public virtual bool? DryRun { get; set; }
[CommandSwitch("--env-file")]
- public string? EnvFile { get; set; }
+ public virtual string? EnvFile { get; set; }
[CommandSwitch("--file")]
- public string? File { get; set; }
+ public virtual string? File { get; set; }
[CommandSwitch("--no-ansi")]
- public string? NoAnsi { get; set; }
+ public virtual string? NoAnsi { get; set; }
[CommandSwitch("--parallel")]
- public int? Parallel { get; set; }
+ public virtual int? Parallel { get; set; }
[CommandSwitch("--profile")]
- public string? Profile { get; set; }
+ public virtual string? Profile { get; set; }
[CommandSwitch("--progress")]
- public string? Progress { get; set; }
+ public virtual string? Progress { get; set; }
[CommandSwitch("--project-directory")]
- public string? ProjectDirectory { get; set; }
+ public virtual string? ProjectDirectory { get; set; }
[CommandSwitch("--project-name")]
- public string? ProjectName { get; set; }
+ public virtual string? ProjectName { get; set; }
[CommandSwitch("--verbose")]
- public string? Verbose { get; set; }
+ public virtual string? Verbose { get; set; }
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
[CommandSwitch("--workdir")]
- public string? Workdir { get; set; }
+ public virtual string? Workdir { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposePortOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposePortOptions.cs
index 0d099aeca1..be11c7b08b 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposePortOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposePortOptions.cs
@@ -25,8 +25,8 @@ string privatePort
public string? PrivatePort { get; set; }
[CommandSwitch("--index")]
- public string? Index { get; set; }
+ public virtual string? Index { get; set; }
[CommandSwitch("--protocol")]
- public string? Protocol { get; set; }
+ public virtual string? Protocol { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposePsOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposePsOptions.cs
index 9718565adf..814ebe454d 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposePsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposePsOptions.cs
@@ -11,26 +11,26 @@ public record DockerComposePsOptions : DockerOptions
public IEnumerable? Service { get; set; }
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
[BooleanCommandSwitch("--orphans")]
- public bool? Orphans { get; set; }
+ public virtual bool? Orphans { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[CommandSwitch("--services")]
- public string? Services { get; set; }
+ public virtual string? Services { get; set; }
[CommandSwitch("--status")]
- public string? Status { get; set; }
+ public virtual string? Status { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposePullOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposePullOptions.cs
index eb71df4c10..49fd236795 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposePullOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposePullOptions.cs
@@ -11,23 +11,23 @@ public record DockerComposePullOptions : DockerOptions
public IEnumerable? Service { get; set; }
[CommandSwitch("--ignore-buildable")]
- public string? IgnoreBuildable { get; set; }
+ public virtual string? IgnoreBuildable { get; set; }
[CommandSwitch("--ignore-pull-failures")]
- public string? IgnorePullFailures { get; set; }
+ public virtual string? IgnorePullFailures { get; set; }
[CommandSwitch("--include-deps")]
- public string? IncludeDeps { get; set; }
+ public virtual string? IncludeDeps { get; set; }
[BooleanCommandSwitch("--no-parallel")]
- public bool? NoParallel { get; set; }
+ public virtual bool? NoParallel { get; set; }
[BooleanCommandSwitch("--parallel")]
- public bool? Parallel { get; set; }
+ public virtual bool? Parallel { get; set; }
[CommandSwitch("--policy")]
- public string? Policy { get; set; }
+ public virtual string? Policy { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposePushOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposePushOptions.cs
index ffbd40615f..88c58b0aaf 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposePushOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposePushOptions.cs
@@ -11,11 +11,11 @@ public record DockerComposePushOptions : DockerOptions
public IEnumerable? Service { get; set; }
[CommandSwitch("--ignore-push-failures")]
- public string? IgnorePushFailures { get; set; }
+ public virtual string? IgnorePushFailures { get; set; }
[CommandSwitch("--include-deps")]
- public string? IncludeDeps { get; set; }
+ public virtual string? IncludeDeps { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeRestartOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeRestartOptions.cs
index b868749d19..48284b0ee1 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeRestartOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeRestartOptions.cs
@@ -11,8 +11,8 @@ public record DockerComposeRestartOptions : DockerOptions
public IEnumerable? Service { get; set; }
[BooleanCommandSwitch("--no-deps")]
- public bool? NoDeps { get; set; }
+ public virtual bool? NoDeps { get; set; }
[CommandSwitch("--timeout")]
- public string? Timeout { get; set; }
+ public virtual string? Timeout { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeRmOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeRmOptions.cs
index c98a4f7bd8..1aa4581a40 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeRmOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeRmOptions.cs
@@ -11,14 +11,14 @@ public record DockerComposeRmOptions : DockerOptions
public IEnumerable? Service { get; set; }
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
[CommandSwitch("--stop")]
- public string? Stop { get; set; }
+ public virtual string? Stop { get; set; }
[CommandSwitch("--volumes")]
- public string? Volumes { get; set; }
+ public virtual string? Volumes { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeRunOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeRunOptions.cs
index 1c14d206fa..7df7a145f5 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeRunOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeRunOptions.cs
@@ -25,65 +25,65 @@ string service
public IEnumerable? Args { get; set; }
[BooleanCommandSwitch("--build")]
- public bool? Build { get; set; }
+ public virtual bool? Build { get; set; }
[CommandSwitch("--cap-add")]
- public string? CapAdd { get; set; }
+ public virtual string? CapAdd { get; set; }
[CommandSwitch("--cap-drop")]
- public string? CapDrop { get; set; }
+ public virtual string? CapDrop { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[CommandSwitch("--entrypoint")]
- public string? Entrypoint { get; set; }
+ public virtual string? Entrypoint { get; set; }
[CommandSwitch("--env")]
- public string? Env { get; set; }
+ public virtual string? Env { get; set; }
[BooleanCommandSwitch("--interactive")]
- public bool? Interactive { get; set; }
+ public virtual bool? Interactive { get; set; }
[CommandSwitch("--label")]
- public string? Label { get; set; }
+ public virtual string? Label { get; set; }
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[BooleanCommandSwitch("--no-TTY")]
- public bool? NoTty { get; set; }
+ public virtual bool? NoTty { get; set; }
[BooleanCommandSwitch("--no-deps")]
- public bool? NoDeps { get; set; }
+ public virtual bool? NoDeps { get; set; }
[CommandSwitch("--publish")]
- public string? Publish { get; set; }
+ public virtual string? Publish { get; set; }
[BooleanCommandSwitch("--quiet-pull")]
- public bool? QuietPull { get; set; }
+ public virtual bool? QuietPull { get; set; }
[BooleanCommandSwitch("--remove-orphans")]
- public bool? RemoveOrphans { get; set; }
+ public virtual bool? RemoveOrphans { get; set; }
[BooleanCommandSwitch("--rm")]
- public bool? Rm { get; set; }
+ public virtual bool? Rm { get; set; }
[CommandSwitch("--service-ports")]
- public string? ServicePorts { get; set; }
+ public virtual string? ServicePorts { get; set; }
[BooleanCommandSwitch("--tty")]
- public bool? Tty { get; set; }
+ public virtual bool? Tty { get; set; }
[CommandSwitch("--use-aliases")]
- public string? UseAliases { get; set; }
+ public virtual string? UseAliases { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--volume")]
- public string? Volume { get; set; }
+ public virtual string? Volume { get; set; }
[CommandSwitch("--workdir")]
- public string? Workdir { get; set; }
+ public virtual string? Workdir { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeStopOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeStopOptions.cs
index 565033df6f..9e9e4f69a1 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeStopOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeStopOptions.cs
@@ -11,5 +11,5 @@ public record DockerComposeStopOptions : DockerOptions
public IEnumerable? Service { get; set; }
[CommandSwitch("--timeout")]
- public string? Timeout { get; set; }
+ public virtual string? Timeout { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeUpOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeUpOptions.cs
index 51bd8b93c8..d1468c986f 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeUpOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeUpOptions.cs
@@ -11,74 +11,74 @@ public record DockerComposeUpOptions : DockerOptions
public IEnumerable? Service { get; set; }
[BooleanCommandSwitch("--abort-on-container-exit")]
- public bool? AbortOnContainerExit { get; set; }
+ public virtual bool? AbortOnContainerExit { get; set; }
[BooleanCommandSwitch("--always-recreate-deps")]
- public bool? AlwaysRecreateDeps { get; set; }
+ public virtual bool? AlwaysRecreateDeps { get; set; }
[BooleanCommandSwitch("--attach")]
- public bool? Attach { get; set; }
+ public virtual bool? Attach { get; set; }
[CommandSwitch("--attach-dependencies")]
- public string? AttachDependencies { get; set; }
+ public virtual string? AttachDependencies { get; set; }
[BooleanCommandSwitch("--build")]
- public bool? Build { get; set; }
+ public virtual bool? Build { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[CommandSwitch("--exit-code-from")]
- public string? ExitCodeFrom { get; set; }
+ public virtual string? ExitCodeFrom { get; set; }
[BooleanCommandSwitch("--force-recreate")]
- public bool? ForceRecreate { get; set; }
+ public virtual bool? ForceRecreate { get; set; }
[CommandSwitch("--no-attach")]
- public string? NoAttach { get; set; }
+ public virtual string? NoAttach { get; set; }
[BooleanCommandSwitch("--no-build")]
- public bool? NoBuild { get; set; }
+ public virtual bool? NoBuild { get; set; }
[BooleanCommandSwitch("--no-color")]
- public bool? NoColor { get; set; }
+ public virtual bool? NoColor { get; set; }
[BooleanCommandSwitch("--no-deps")]
- public bool? NoDeps { get; set; }
+ public virtual bool? NoDeps { get; set; }
[CommandSwitch("--no-log-prefix")]
- public string? NoLogPrefix { get; set; }
+ public virtual string? NoLogPrefix { get; set; }
[BooleanCommandSwitch("--no-recreate")]
- public bool? NoRecreate { get; set; }
+ public virtual bool? NoRecreate { get; set; }
[BooleanCommandSwitch("--no-start")]
- public bool? NoStart { get; set; }
+ public virtual bool? NoStart { get; set; }
[BooleanCommandSwitch("--pull")]
- public bool? Pull { get; set; }
+ public virtual bool? Pull { get; set; }
[BooleanCommandSwitch("--quiet-pull")]
- public bool? QuietPull { get; set; }
+ public virtual bool? QuietPull { get; set; }
[BooleanCommandSwitch("--remove-orphans")]
- public bool? RemoveOrphans { get; set; }
+ public virtual bool? RemoveOrphans { get; set; }
[BooleanCommandSwitch("--renew-anon-volumes")]
- public bool? RenewAnonVolumes { get; set; }
+ public virtual bool? RenewAnonVolumes { get; set; }
[CommandSwitch("--scale")]
- public string? Scale { get; set; }
+ public virtual string? Scale { get; set; }
[CommandSwitch("--timeout")]
- public string? Timeout { get; set; }
+ public virtual string? Timeout { get; set; }
[BooleanCommandSwitch("--timestamps")]
- public bool? Timestamps { get; set; }
+ public virtual bool? Timestamps { get; set; }
[BooleanCommandSwitch("--wait")]
- public bool? Wait { get; set; }
+ public virtual bool? Wait { get; set; }
[CommandSwitch("--wait-timeout")]
- public string? WaitTimeout { get; set; }
+ public virtual string? WaitTimeout { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeVersionOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeVersionOptions.cs
index 45b208dab2..6be600c718 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeVersionOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeVersionOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerComposeVersionOptions : DockerOptions
{
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--short")]
- public string? Short { get; set; }
+ public virtual string? Short { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeWaitOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeWaitOptions.cs
index 827587e0cd..1823ec6b73 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeWaitOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeWaitOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Docker.Options;
public record DockerComposeWaitOptions : DockerOptions
{
[CommandSwitch("--down-project")]
- public string? DownProject { get; set; }
+ public virtual string? DownProject { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerComposeWatchOptions.cs b/src/ModularPipelines.Docker/Options/DockerComposeWatchOptions.cs
index 66e0f404be..911c159820 100644
--- a/src/ModularPipelines.Docker/Options/DockerComposeWatchOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerComposeWatchOptions.cs
@@ -11,8 +11,8 @@ public record DockerComposeWatchOptions : DockerOptions
public IEnumerable? Service { get; set; }
[CommandSwitch("--no-up")]
- public string? NoUp { get; set; }
+ public virtual string? NoUp { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerConfigCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerConfigCreateOptions.cs
index 80ca7f7099..3c43750d4a 100644
--- a/src/ModularPipelines.Docker/Options/DockerConfigCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerConfigCreateOptions.cs
@@ -25,8 +25,8 @@ string file
public string? File { get; set; }
[CommandSwitch("--label")]
- public string? Label { get; set; }
+ public virtual string? Label { get; set; }
[CommandSwitch("--template-driver")]
- public string? TemplateDriver { get; set; }
+ public virtual string? TemplateDriver { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerConfigInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerConfigInspectOptions.cs
index a3ff1eb2be..28c687e8ba 100644
--- a/src/ModularPipelines.Docker/Options/DockerConfigInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerConfigInspectOptions.cs
@@ -19,8 +19,8 @@ IEnumerable config
public IEnumerable? InspectConfig { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--pretty")]
- public string? Pretty { get; set; }
+ public virtual string? Pretty { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerConfigLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerConfigLsOptions.cs
index 65e6bee5ab..2ec6748a57 100644
--- a/src/ModularPipelines.Docker/Options/DockerConfigLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerConfigLsOptions.cs
@@ -8,11 +8,11 @@ namespace ModularPipelines.Docker.Options;
public record DockerConfigLsOptions : DockerOptions
{
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerAttachOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerAttachOptions.cs
index ca1921e222..fc0d3ea7ce 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerAttachOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerAttachOptions.cs
@@ -19,11 +19,11 @@ string container
public string? Container { get; set; }
[CommandSwitch("--detach-keys")]
- public string? DetachKeys { get; set; }
+ public virtual string? DetachKeys { get; set; }
[CommandSwitch("--no-stdin")]
- public string? NoStdin { get; set; }
+ public virtual string? NoStdin { get; set; }
[BooleanCommandSwitch("--sig-proxy")]
- public bool? SigProxy { get; set; }
+ public virtual bool? SigProxy { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerCommitOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerCommitOptions.cs
index dffdb4a050..5257dd13a1 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerCommitOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerCommitOptions.cs
@@ -22,14 +22,14 @@ string container
public string? Repository { get; set; }
[CommandSwitch("--author")]
- public string? Author { get; set; }
+ public virtual string? Author { get; set; }
[CommandSwitch("--change")]
- public string? Change { get; set; }
+ public virtual string? Change { get; set; }
[CommandSwitch("--message")]
- public string? Message { get; set; }
+ public virtual string? Message { get; set; }
[BooleanCommandSwitch("--pause")]
- public bool? Pause { get; set; }
+ public virtual bool? Pause { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerCpOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerCpOptions.cs
index 38deb3d4d6..7f5a3e20b2 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerCpOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerCpOptions.cs
@@ -40,11 +40,11 @@ string srcPath
public string? SrcPath { get; set; }
[CommandSwitch("--archive")]
- public string? Archive { get; set; }
+ public virtual string? Archive { get; set; }
[CommandSwitch("--follow-link")]
- public string? FollowLink { get; set; }
+ public virtual string? FollowLink { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerCreateOptions.cs
index 9a54c4c676..c2ad6979b0 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerCreateOptions.cs
@@ -25,308 +25,308 @@ string image
public IEnumerable? Arg { get; set; }
[CommandSwitch("--add-host")]
- public string? AddHost { get; set; }
+ public virtual string? AddHost { get; set; }
[CommandSwitch("--annotation")]
- public string? Annotation { get; set; }
+ public virtual string? Annotation { get; set; }
[BooleanCommandSwitch("--attach")]
- public bool? Attach { get; set; }
+ public virtual bool? Attach { get; set; }
[CommandSwitch("--blkio-weight")]
- public string? BlkioWeight { get; set; }
+ public virtual string? BlkioWeight { get; set; }
[CommandSwitch("--blkio-weight-device")]
- public string? BlkioWeightDevice { get; set; }
+ public virtual string? BlkioWeightDevice { get; set; }
[CommandSwitch("--cap-add")]
- public string? CapAdd { get; set; }
+ public virtual string? CapAdd { get; set; }
[CommandSwitch("--cap-drop")]
- public string? CapDrop { get; set; }
+ public virtual string? CapDrop { get; set; }
[CommandSwitch("--cgroup-parent")]
- public string? CgroupParent { get; set; }
+ public virtual string? CgroupParent { get; set; }
[CommandSwitch("--cgroupns")]
- public string? Cgroupns { get; set; }
+ public virtual string? Cgroupns { get; set; }
[CommandSwitch("--cidfile")]
- public string? Cidfile { get; set; }
+ public virtual string? Cidfile { get; set; }
[CommandSwitch("--cpu-count")]
- public string? CpuCount { get; set; }
+ public virtual string? CpuCount { get; set; }
[CommandSwitch("--cpu-percent")]
- public string? CpuPercent { get; set; }
+ public virtual string? CpuPercent { get; set; }
[CommandSwitch("--cpu-period")]
- public string? CpuPeriod { get; set; }
+ public virtual string? CpuPeriod { get; set; }
[CommandSwitch("--cpu-quota")]
- public string? CpuQuota { get; set; }
+ public virtual string? CpuQuota { get; set; }
[CommandSwitch("--cpu-rt-period")]
- public string? CpuRtPeriod { get; set; }
+ public virtual string? CpuRtPeriod { get; set; }
[CommandSwitch("--cpu-rt-runtime")]
- public string? CpuRtRuntime { get; set; }
+ public virtual string? CpuRtRuntime { get; set; }
[CommandSwitch("--cpu-shares")]
- public string? CpuShares { get; set; }
+ public virtual string? CpuShares { get; set; }
[CommandSwitch("--cpus")]
- public string? Cpus { get; set; }
+ public virtual string? Cpus { get; set; }
[CommandSwitch("--cpuset-cpus")]
- public string? CpusetCpus { get; set; }
+ public virtual string? CpusetCpus { get; set; }
[CommandSwitch("--cpuset-mems")]
- public string? CpusetMems { get; set; }
+ public virtual string? CpusetMems { get; set; }
[CommandSwitch("--device")]
- public string? Device { get; set; }
+ public virtual string? Device { get; set; }
[CommandSwitch("--device-cgroup-rule")]
- public string? DeviceCgroupRule { get; set; }
+ public virtual string? DeviceCgroupRule { get; set; }
[CommandSwitch("--device-read-bps")]
- public string? DeviceReadBps { get; set; }
+ public virtual string? DeviceReadBps { get; set; }
[CommandSwitch("--device-read-iops")]
- public string? DeviceReadIops { get; set; }
+ public virtual string? DeviceReadIops { get; set; }
[CommandSwitch("--device-write-bps")]
- public string? DeviceWriteBps { get; set; }
+ public virtual string? DeviceWriteBps { get; set; }
[CommandSwitch("--device-write-iops")]
- public string? DeviceWriteIops { get; set; }
+ public virtual string? DeviceWriteIops { get; set; }
[BooleanCommandSwitch("--disable-content-trust")]
- public bool? DisableContentTrust { get; set; }
+ public virtual bool? DisableContentTrust { get; set; }
[CommandSwitch("--dns")]
- public string? Dns { get; set; }
+ public virtual string? Dns { get; set; }
[CommandSwitch("--dns-opt")]
- public string? DnsOpt { get; set; }
+ public virtual string? DnsOpt { get; set; }
[CommandSwitch("--dns-option")]
- public string? DnsOption { get; set; }
+ public virtual string? DnsOption { get; set; }
[CommandSwitch("--dns-search")]
- public string? DnsSearch { get; set; }
+ public virtual string? DnsSearch { get; set; }
[CommandSwitch("--domainname")]
- public string? Domainname { get; set; }
+ public virtual string? Domainname { get; set; }
[CommandSwitch("--entrypoint")]
- public string? Entrypoint { get; set; }
+ public virtual string? Entrypoint { get; set; }
[CommandSwitch("--env")]
- public string? Env { get; set; }
+ public virtual string? Env { get; set; }
[CommandSwitch("--env-file")]
- public string? EnvFile { get; set; }
+ public virtual string? EnvFile { get; set; }
[CommandSwitch("--expose")]
- public string? Expose { get; set; }
+ public virtual string? Expose { get; set; }
[CommandSwitch("--gpus")]
- public string? Gpus { get; set; }
+ public virtual string? Gpus { get; set; }
[CommandSwitch("--group-add")]
- public string? GroupAdd { get; set; }
+ public virtual string? GroupAdd { get; set; }
[CommandSwitch("--health-cmd")]
- public string? HealthCmd { get; set; }
+ public virtual string? HealthCmd { get; set; }
[CommandSwitch("--health-interval")]
- public string? HealthInterval { get; set; }
+ public virtual string? HealthInterval { get; set; }
[CommandSwitch("--health-retries")]
- public string? HealthRetries { get; set; }
+ public virtual string? HealthRetries { get; set; }
[CommandSwitch("--health-start-interval")]
- public string? HealthStartInterval { get; set; }
+ public virtual string? HealthStartInterval { get; set; }
[CommandSwitch("--health-start-period")]
- public string? HealthStartPeriod { get; set; }
+ public virtual string? HealthStartPeriod { get; set; }
[CommandSwitch("--health-timeout")]
- public string? HealthTimeout { get; set; }
+ public virtual string? HealthTimeout { get; set; }
[CommandSwitch("--hostname")]
- public string? Hostname { get; set; }
+ public virtual string? Hostname { get; set; }
[CommandSwitch("--init")]
- public string? Init { get; set; }
+ public virtual string? Init { get; set; }
[BooleanCommandSwitch("--interactive")]
- public bool? Interactive { get; set; }
+ public virtual bool? Interactive { get; set; }
[CommandSwitch("--io-maxbandwidth")]
- public string? IoMaxbandwidth { get; set; }
+ public virtual string? IoMaxbandwidth { get; set; }
[CommandSwitch("--io-maxiops")]
- public string? IoMaxiops { get; set; }
+ public virtual string? IoMaxiops { get; set; }
[CommandSwitch("--ip")]
- public string? Ip { get; set; }
+ public virtual string? Ip { get; set; }
[CommandSwitch("--ip6")]
- public string? Ip6 { get; set; }
+ public virtual string? Ip6 { get; set; }
[CommandSwitch("--ipc")]
- public string? Ipc { get; set; }
+ public virtual string? Ipc { get; set; }
[BooleanCommandSwitch("--isolation")]
- public bool? Isolation { get; set; }
+ public virtual bool? Isolation { get; set; }
[CommandSwitch("--kernel-memory")]
- public string? KernelMemory { get; set; }
+ public virtual string? KernelMemory { get; set; }
[CommandSwitch("--label")]
- public string? Label { get; set; }
+ public virtual string? Label { get; set; }
[CommandSwitch("--label-file")]
- public string? LabelFile { get; set; }
+ public virtual string? LabelFile { get; set; }
[CommandSwitch("--link")]
- public string? Link { get; set; }
+ public virtual string? Link { get; set; }
[CommandSwitch("--link-local-ip")]
- public string? LinkLocalIp { get; set; }
+ public virtual string? LinkLocalIp { get; set; }
[CommandSwitch("--log-driver")]
- public string? LogDriver { get; set; }
+ public virtual string? LogDriver { get; set; }
[CommandSwitch("--log-opt")]
- public string? LogOpt { get; set; }
+ public virtual string? LogOpt { get; set; }
[CommandSwitch("--mac-address")]
- public string? MacAddress { get; set; }
+ public virtual string? MacAddress { get; set; }
[CommandSwitch("--memory")]
- public string? Memory { get; set; }
+ public virtual string? Memory { get; set; }
[CommandSwitch("--memory-reservation")]
- public string? MemoryReservation { get; set; }
+ public virtual string? MemoryReservation { get; set; }
[CommandSwitch("--memory-swap")]
- public string? MemorySwap { get; set; }
+ public virtual string? MemorySwap { get; set; }
[CommandSwitch("--memory-swappiness")]
- public int? MemorySwappiness { get; set; }
+ public virtual int? MemorySwappiness { get; set; }
[CommandSwitch("--mount")]
- public string? Mount { get; set; }
+ public virtual string? Mount { get; set; }
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--net")]
- public string? Net { get; set; }
+ public virtual string? Net { get; set; }
[CommandSwitch("--net-alias")]
- public string? NetAlias { get; set; }
+ public virtual string? NetAlias { get; set; }
[CommandSwitch("--network")]
- public string? Network { get; set; }
+ public virtual string? Network { get; set; }
[CommandSwitch("--network-alias")]
- public string? NetworkAlias { get; set; }
+ public virtual string? NetworkAlias { get; set; }
[BooleanCommandSwitch("--no-healthcheck")]
- public bool? NoHealthcheck { get; set; }
+ public virtual bool? NoHealthcheck { get; set; }
[BooleanCommandSwitch("--oom-kill-disable")]
- public bool? OomKillDisable { get; set; }
+ public virtual bool? OomKillDisable { get; set; }
[CommandSwitch("--oom-score-adj")]
- public string? OomScoreAdj { get; set; }
+ public virtual string? OomScoreAdj { get; set; }
[CommandSwitch("--pid")]
- public string? Pid { get; set; }
+ public virtual string? Pid { get; set; }
[CommandSwitch("--pids-limit")]
- public string? PidsLimit { get; set; }
+ public virtual string? PidsLimit { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[BooleanCommandSwitch("--privileged")]
- public bool? Privileged { get; set; }
+ public virtual bool? Privileged { get; set; }
[CommandSwitch("--publish")]
- public string? Publish { get; set; }
+ public virtual string? Publish { get; set; }
[CommandSwitch("--publish-all")]
- public string? PublishAll { get; set; }
+ public virtual string? PublishAll { get; set; }
[BooleanCommandSwitch("--pull")]
- public bool? Pull { get; set; }
+ public virtual bool? Pull { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[BooleanCommandSwitch("--read-only")]
- public bool? ReadOnly { get; set; }
+ public virtual bool? ReadOnly { get; set; }
[CommandSwitch("--restart")]
- public string? Restart { get; set; }
+ public virtual string? Restart { get; set; }
[BooleanCommandSwitch("--rm")]
- public bool? Rm { get; set; }
+ public virtual bool? Rm { get; set; }
[CommandSwitch("--runtime")]
- public string? Runtime { get; set; }
+ public virtual string? Runtime { get; set; }
[CommandSwitch("--security-opt")]
- public string? SecurityOpt { get; set; }
+ public virtual string? SecurityOpt { get; set; }
[CommandSwitch("--shm-size")]
- public string? ShmSize { get; set; }
+ public virtual string? ShmSize { get; set; }
[CommandSwitch("--stop-signal")]
- public string? StopSignal { get; set; }
+ public virtual string? StopSignal { get; set; }
[CommandSwitch("--stop-timeout")]
- public string? StopTimeout { get; set; }
+ public virtual string? StopTimeout { get; set; }
[CommandSwitch("--storage-opt")]
- public string? StorageOpt { get; set; }
+ public virtual string? StorageOpt { get; set; }
[CommandSwitch("--sysctl")]
- public string? Sysctl { get; set; }
+ public virtual string? Sysctl { get; set; }
[CommandSwitch("--tmpfs")]
- public string? Tmpfs { get; set; }
+ public virtual string? Tmpfs { get; set; }
[CommandSwitch("--tty")]
- public string? Tty { get; set; }
+ public virtual string? Tty { get; set; }
[CommandSwitch("--ulimit")]
- public string? Ulimit { get; set; }
+ public virtual string? Ulimit { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--userns")]
- public string? Userns { get; set; }
+ public virtual string? Userns { get; set; }
[CommandSwitch("--uts")]
- public string? Uts { get; set; }
+ public virtual string? Uts { get; set; }
[CommandSwitch("--volume")]
- public string? Volume { get; set; }
+ public virtual string? Volume { get; set; }
[CommandSwitch("--volume-driver")]
- public string? VolumeDriver { get; set; }
+ public virtual string? VolumeDriver { get; set; }
[CommandSwitch("--volumes-from")]
- public string? VolumesFrom { get; set; }
+ public virtual string? VolumesFrom { get; set; }
[CommandSwitch("--workdir")]
- public string? Workdir { get; set; }
+ public virtual string? Workdir { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerExecOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerExecOptions.cs
index d4be8edebb..ce998cee21 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerExecOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerExecOptions.cs
@@ -28,29 +28,29 @@ string command
public IEnumerable? Arg { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[CommandSwitch("--detach-keys")]
- public string? DetachKeys { get; set; }
+ public virtual string? DetachKeys { get; set; }
[CommandSwitch("--env")]
- public string? Env { get; set; }
+ public virtual string? Env { get; set; }
[CommandSwitch("--env-file")]
- public string? EnvFile { get; set; }
+ public virtual string? EnvFile { get; set; }
[BooleanCommandSwitch("--interactive")]
- public bool? Interactive { get; set; }
+ public virtual bool? Interactive { get; set; }
[BooleanCommandSwitch("--privileged")]
- public bool? Privileged { get; set; }
+ public virtual bool? Privileged { get; set; }
[CommandSwitch("--tty")]
- public string? Tty { get; set; }
+ public virtual string? Tty { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--workdir")]
- public string? Workdir { get; set; }
+ public virtual string? Workdir { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerExportOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerExportOptions.cs
index 5090d0fe62..95d12964ee 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerExportOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerExportOptions.cs
@@ -19,5 +19,5 @@ string container
public string? Container { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerInspectOptions.cs
index 4bfde97251..608e4716dd 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerInspectOptions.cs
@@ -19,8 +19,8 @@ IEnumerable container
public IEnumerable? Container { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--size")]
- public string? Size { get; set; }
+ public virtual string? Size { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerKillOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerKillOptions.cs
index becb484eaf..9ed6a2c03a 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerKillOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerKillOptions.cs
@@ -19,5 +19,5 @@ IEnumerable container
public IEnumerable? Container { get; set; }
[CommandSwitch("--signal")]
- public string? Signal { get; set; }
+ public virtual string? Signal { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerLogsOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerLogsOptions.cs
index 7025683045..8d2e66f34f 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerLogsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerLogsOptions.cs
@@ -19,20 +19,20 @@ string container
public string? Container { get; set; }
[BooleanCommandSwitch("--details")]
- public bool? Details { get; set; }
+ public virtual bool? Details { get; set; }
[BooleanCommandSwitch("--follow")]
- public bool? Follow { get; set; }
+ public virtual bool? Follow { get; set; }
[CommandSwitch("--since")]
- public string? Since { get; set; }
+ public virtual string? Since { get; set; }
[CommandSwitch("--tail")]
- public string? Tail { get; set; }
+ public virtual string? Tail { get; set; }
[BooleanCommandSwitch("--timestamps")]
- public bool? Timestamps { get; set; }
+ public virtual bool? Timestamps { get; set; }
[CommandSwitch("--until")]
- public string? Until { get; set; }
+ public virtual string? Until { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerLsOptions.cs
index 3c20b412f1..18a4f1516f 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerLsOptions.cs
@@ -8,26 +8,26 @@ namespace ModularPipelines.Docker.Options;
public record DockerContainerLsOptions : DockerOptions
{
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--last")]
- public int? Last { get; set; }
+ public virtual int? Last { get; set; }
[CommandSwitch("--latest")]
- public string? Latest { get; set; }
+ public virtual string? Latest { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[CommandSwitch("--size")]
- public string? Size { get; set; }
+ public virtual string? Size { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerPruneOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerPruneOptions.cs
index 884e0c4f87..3f42e83202 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerPruneOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerPruneOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerContainerPruneOptions : DockerOptions
{
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerRestartOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerRestartOptions.cs
index e42a0435ed..39efcfb477 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerRestartOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerRestartOptions.cs
@@ -19,8 +19,8 @@ IEnumerable container
public IEnumerable? Container { get; set; }
[CommandSwitch("--signal")]
- public string? Signal { get; set; }
+ public virtual string? Signal { get; set; }
[CommandSwitch("--time")]
- public string? Time { get; set; }
+ public virtual string? Time { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerRmOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerRmOptions.cs
index 20028c5535..3cb0e6b707 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerRmOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerRmOptions.cs
@@ -19,11 +19,11 @@ IEnumerable container
public IEnumerable? Container { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
[CommandSwitch("--link")]
- public string? Link { get; set; }
+ public virtual string? Link { get; set; }
[CommandSwitch("--volumes")]
- public string? Volumes { get; set; }
+ public virtual string? Volumes { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerRunOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerRunOptions.cs
index ea10611736..35ac51c043 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerRunOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerRunOptions.cs
@@ -25,317 +25,317 @@ string image
public IEnumerable? Arg { get; set; }
[CommandSwitch("--add-host")]
- public string? AddHost { get; set; }
+ public virtual string? AddHost { get; set; }
[CommandSwitch("--annotation")]
- public string? Annotation { get; set; }
+ public virtual string? Annotation { get; set; }
[BooleanCommandSwitch("--attach")]
- public bool? Attach { get; set; }
+ public virtual bool? Attach { get; set; }
[CommandSwitch("--blkio-weight")]
- public string? BlkioWeight { get; set; }
+ public virtual string? BlkioWeight { get; set; }
[CommandSwitch("--blkio-weight-device")]
- public string? BlkioWeightDevice { get; set; }
+ public virtual string? BlkioWeightDevice { get; set; }
[CommandSwitch("--cap-add")]
- public string? CapAdd { get; set; }
+ public virtual string? CapAdd { get; set; }
[CommandSwitch("--cap-drop")]
- public string? CapDrop { get; set; }
+ public virtual string? CapDrop { get; set; }
[CommandSwitch("--cgroup-parent")]
- public string? CgroupParent { get; set; }
+ public virtual string? CgroupParent { get; set; }
[CommandSwitch("--cgroupns")]
- public string? Cgroupns { get; set; }
+ public virtual string? Cgroupns { get; set; }
[CommandSwitch("--cidfile")]
- public string? Cidfile { get; set; }
+ public virtual string? Cidfile { get; set; }
[CommandSwitch("--cpu-count")]
- public string? CpuCount { get; set; }
+ public virtual string? CpuCount { get; set; }
[CommandSwitch("--cpu-percent")]
- public string? CpuPercent { get; set; }
+ public virtual string? CpuPercent { get; set; }
[CommandSwitch("--cpu-period")]
- public string? CpuPeriod { get; set; }
+ public virtual string? CpuPeriod { get; set; }
[CommandSwitch("--cpu-quota")]
- public string? CpuQuota { get; set; }
+ public virtual string? CpuQuota { get; set; }
[CommandSwitch("--cpu-rt-period")]
- public string? CpuRtPeriod { get; set; }
+ public virtual string? CpuRtPeriod { get; set; }
[CommandSwitch("--cpu-rt-runtime")]
- public string? CpuRtRuntime { get; set; }
+ public virtual string? CpuRtRuntime { get; set; }
[CommandSwitch("--cpu-shares")]
- public string? CpuShares { get; set; }
+ public virtual string? CpuShares { get; set; }
[CommandSwitch("--cpus")]
- public string? Cpus { get; set; }
+ public virtual string? Cpus { get; set; }
[CommandSwitch("--cpuset-cpus")]
- public string? CpusetCpus { get; set; }
+ public virtual string? CpusetCpus { get; set; }
[CommandSwitch("--cpuset-mems")]
- public string? CpusetMems { get; set; }
+ public virtual string? CpusetMems { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[CommandSwitch("--detach-keys")]
- public string? DetachKeys { get; set; }
+ public virtual string? DetachKeys { get; set; }
[CommandSwitch("--device")]
- public string? Device { get; set; }
+ public virtual string? Device { get; set; }
[CommandSwitch("--device-cgroup-rule")]
- public string? DeviceCgroupRule { get; set; }
+ public virtual string? DeviceCgroupRule { get; set; }
[CommandSwitch("--device-read-bps")]
- public string? DeviceReadBps { get; set; }
+ public virtual string? DeviceReadBps { get; set; }
[CommandSwitch("--device-read-iops")]
- public string? DeviceReadIops { get; set; }
+ public virtual string? DeviceReadIops { get; set; }
[CommandSwitch("--device-write-bps")]
- public string? DeviceWriteBps { get; set; }
+ public virtual string? DeviceWriteBps { get; set; }
[CommandSwitch("--device-write-iops")]
- public string? DeviceWriteIops { get; set; }
+ public virtual string? DeviceWriteIops { get; set; }
[BooleanCommandSwitch("--disable-content-trust")]
- public bool? DisableContentTrust { get; set; }
+ public virtual bool? DisableContentTrust { get; set; }
[CommandSwitch("--dns")]
- public string? Dns { get; set; }
+ public virtual string? Dns { get; set; }
[CommandSwitch("--dns-opt")]
- public string? DnsOpt { get; set; }
+ public virtual string? DnsOpt { get; set; }
[CommandSwitch("--dns-option")]
- public string? DnsOption { get; set; }
+ public virtual string? DnsOption { get; set; }
[CommandSwitch("--dns-search")]
- public string? DnsSearch { get; set; }
+ public virtual string? DnsSearch { get; set; }
[CommandSwitch("--domainname")]
- public string? Domainname { get; set; }
+ public virtual string? Domainname { get; set; }
[CommandSwitch("--entrypoint")]
- public string? Entrypoint { get; set; }
+ public virtual string? Entrypoint { get; set; }
[CommandSwitch("--env")]
- public string? Env { get; set; }
+ public virtual string? Env { get; set; }
[CommandSwitch("--env-file")]
- public string? EnvFile { get; set; }
+ public virtual string? EnvFile { get; set; }
[CommandSwitch("--expose")]
- public string? Expose { get; set; }
+ public virtual string? Expose { get; set; }
[CommandSwitch("--gpus")]
- public string? Gpus { get; set; }
+ public virtual string? Gpus { get; set; }
[CommandSwitch("--group-add")]
- public string? GroupAdd { get; set; }
+ public virtual string? GroupAdd { get; set; }
[CommandSwitch("--health-cmd")]
- public string? HealthCmd { get; set; }
+ public virtual string? HealthCmd { get; set; }
[CommandSwitch("--health-interval")]
- public string? HealthInterval { get; set; }
+ public virtual string? HealthInterval { get; set; }
[CommandSwitch("--health-retries")]
- public string? HealthRetries { get; set; }
+ public virtual string? HealthRetries { get; set; }
[CommandSwitch("--health-start-interval")]
- public string? HealthStartInterval { get; set; }
+ public virtual string? HealthStartInterval { get; set; }
[CommandSwitch("--health-start-period")]
- public string? HealthStartPeriod { get; set; }
+ public virtual string? HealthStartPeriod { get; set; }
[CommandSwitch("--health-timeout")]
- public string? HealthTimeout { get; set; }
+ public virtual string? HealthTimeout { get; set; }
[CommandSwitch("--hostname")]
- public string? Hostname { get; set; }
+ public virtual string? Hostname { get; set; }
[CommandSwitch("--init")]
- public string? Init { get; set; }
+ public virtual string? Init { get; set; }
[BooleanCommandSwitch("--interactive")]
- public bool? Interactive { get; set; }
+ public virtual bool? Interactive { get; set; }
[CommandSwitch("--io-maxbandwidth")]
- public string? IoMaxbandwidth { get; set; }
+ public virtual string? IoMaxbandwidth { get; set; }
[CommandSwitch("--io-maxiops")]
- public string? IoMaxiops { get; set; }
+ public virtual string? IoMaxiops { get; set; }
[CommandSwitch("--ip")]
- public string? Ip { get; set; }
+ public virtual string? Ip { get; set; }
[CommandSwitch("--ip6")]
- public string? Ip6 { get; set; }
+ public virtual string? Ip6 { get; set; }
[CommandSwitch("--ipc")]
- public string? Ipc { get; set; }
+ public virtual string? Ipc { get; set; }
[BooleanCommandSwitch("--isolation")]
- public bool? Isolation { get; set; }
+ public virtual bool? Isolation { get; set; }
[CommandSwitch("--kernel-memory")]
- public string? KernelMemory { get; set; }
+ public virtual string? KernelMemory { get; set; }
[CommandSwitch("--label")]
- public string? Label { get; set; }
+ public virtual string? Label { get; set; }
[CommandSwitch("--label-file")]
- public string? LabelFile { get; set; }
+ public virtual string? LabelFile { get; set; }
[CommandSwitch("--link")]
- public string? Link { get; set; }
+ public virtual string? Link { get; set; }
[CommandSwitch("--link-local-ip")]
- public string? LinkLocalIp { get; set; }
+ public virtual string? LinkLocalIp { get; set; }
[CommandSwitch("--log-driver")]
- public string? LogDriver { get; set; }
+ public virtual string? LogDriver { get; set; }
[CommandSwitch("--log-opt")]
- public string? LogOpt { get; set; }
+ public virtual string? LogOpt { get; set; }
[CommandSwitch("--mac-address")]
- public string? MacAddress { get; set; }
+ public virtual string? MacAddress { get; set; }
[CommandSwitch("--memory")]
- public string? Memory { get; set; }
+ public virtual string? Memory { get; set; }
[CommandSwitch("--memory-reservation")]
- public string? MemoryReservation { get; set; }
+ public virtual string? MemoryReservation { get; set; }
[CommandSwitch("--memory-swap")]
- public string? MemorySwap { get; set; }
+ public virtual string? MemorySwap { get; set; }
[CommandSwitch("--memory-swappiness")]
- public int? MemorySwappiness { get; set; }
+ public virtual int? MemorySwappiness { get; set; }
[CommandSwitch("--mount")]
- public string? Mount { get; set; }
+ public virtual string? Mount { get; set; }
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--net")]
- public string? Net { get; set; }
+ public virtual string? Net { get; set; }
[CommandSwitch("--net-alias")]
- public string? NetAlias { get; set; }
+ public virtual string? NetAlias { get; set; }
[CommandSwitch("--network")]
- public string? Network { get; set; }
+ public virtual string? Network { get; set; }
[CommandSwitch("--network-alias")]
- public string? NetworkAlias { get; set; }
+ public virtual string? NetworkAlias { get; set; }
[BooleanCommandSwitch("--no-healthcheck")]
- public bool? NoHealthcheck { get; set; }
+ public virtual bool? NoHealthcheck { get; set; }
[BooleanCommandSwitch("--oom-kill-disable")]
- public bool? OomKillDisable { get; set; }
+ public virtual bool? OomKillDisable { get; set; }
[CommandSwitch("--oom-score-adj")]
- public string? OomScoreAdj { get; set; }
+ public virtual string? OomScoreAdj { get; set; }
[CommandSwitch("--pid")]
- public string? Pid { get; set; }
+ public virtual string? Pid { get; set; }
[CommandSwitch("--pids-limit")]
- public string? PidsLimit { get; set; }
+ public virtual string? PidsLimit { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[BooleanCommandSwitch("--privileged")]
- public bool? Privileged { get; set; }
+ public virtual bool? Privileged { get; set; }
[CommandSwitch("--publish")]
- public string? Publish { get; set; }
+ public virtual string? Publish { get; set; }
[CommandSwitch("--publish-all")]
- public string? PublishAll { get; set; }
+ public virtual string? PublishAll { get; set; }
[BooleanCommandSwitch("--pull")]
- public bool? Pull { get; set; }
+ public virtual bool? Pull { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[BooleanCommandSwitch("--read-only")]
- public bool? ReadOnly { get; set; }
+ public virtual bool? ReadOnly { get; set; }
[CommandSwitch("--restart")]
- public string? Restart { get; set; }
+ public virtual string? Restart { get; set; }
[BooleanCommandSwitch("--rm")]
- public bool? Rm { get; set; }
+ public virtual bool? Rm { get; set; }
[CommandSwitch("--runtime")]
- public string? Runtime { get; set; }
+ public virtual string? Runtime { get; set; }
[CommandSwitch("--security-opt")]
- public string? SecurityOpt { get; set; }
+ public virtual string? SecurityOpt { get; set; }
[CommandSwitch("--shm-size")]
- public string? ShmSize { get; set; }
+ public virtual string? ShmSize { get; set; }
[BooleanCommandSwitch("--sig-proxy")]
- public bool? SigProxy { get; set; }
+ public virtual bool? SigProxy { get; set; }
[CommandSwitch("--stop-signal")]
- public string? StopSignal { get; set; }
+ public virtual string? StopSignal { get; set; }
[CommandSwitch("--stop-timeout")]
- public string? StopTimeout { get; set; }
+ public virtual string? StopTimeout { get; set; }
[CommandSwitch("--storage-opt")]
- public string? StorageOpt { get; set; }
+ public virtual string? StorageOpt { get; set; }
[CommandSwitch("--sysctl")]
- public string? Sysctl { get; set; }
+ public virtual string? Sysctl { get; set; }
[CommandSwitch("--tmpfs")]
- public string? Tmpfs { get; set; }
+ public virtual string? Tmpfs { get; set; }
[CommandSwitch("--tty")]
- public string? Tty { get; set; }
+ public virtual string? Tty { get; set; }
[CommandSwitch("--ulimit")]
- public string? Ulimit { get; set; }
+ public virtual string? Ulimit { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--userns")]
- public string? Userns { get; set; }
+ public virtual string? Userns { get; set; }
[CommandSwitch("--uts")]
- public string? Uts { get; set; }
+ public virtual string? Uts { get; set; }
[CommandSwitch("--volume")]
- public string? Volume { get; set; }
+ public virtual string? Volume { get; set; }
[CommandSwitch("--volume-driver")]
- public string? VolumeDriver { get; set; }
+ public virtual string? VolumeDriver { get; set; }
[CommandSwitch("--volumes-from")]
- public string? VolumesFrom { get; set; }
+ public virtual string? VolumesFrom { get; set; }
[CommandSwitch("--workdir")]
- public string? Workdir { get; set; }
+ public virtual string? Workdir { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerStartOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerStartOptions.cs
index f6dacf32f9..59d5d718f0 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerStartOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerStartOptions.cs
@@ -19,17 +19,17 @@ IEnumerable container
public IEnumerable? Container { get; set; }
[BooleanCommandSwitch("--attach")]
- public bool? Attach { get; set; }
+ public virtual bool? Attach { get; set; }
[CommandSwitch("--checkpoint")]
- public string? Checkpoint { get; set; }
+ public virtual string? Checkpoint { get; set; }
[CommandSwitch("--checkpoint-dir")]
- public string? CheckpointDir { get; set; }
+ public virtual string? CheckpointDir { get; set; }
[CommandSwitch("--detach-keys")]
- public string? DetachKeys { get; set; }
+ public virtual string? DetachKeys { get; set; }
[BooleanCommandSwitch("--interactive")]
- public bool? Interactive { get; set; }
+ public virtual bool? Interactive { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerStatsOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerStatsOptions.cs
index 3689c35a2e..f869fdec11 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerStatsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerStatsOptions.cs
@@ -11,14 +11,14 @@ public record DockerContainerStatsOptions : DockerOptions
public IEnumerable? Container { get; set; }
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--no-stream")]
- public string? NoStream { get; set; }
+ public virtual string? NoStream { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerStopOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerStopOptions.cs
index 16a539c767..69fddb7861 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerStopOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerStopOptions.cs
@@ -19,8 +19,8 @@ IEnumerable container
public IEnumerable? Container { get; set; }
[CommandSwitch("--signal")]
- public string? Signal { get; set; }
+ public virtual string? Signal { get; set; }
[CommandSwitch("--time")]
- public string? Time { get; set; }
+ public virtual string? Time { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContainerUpdateOptions.cs b/src/ModularPipelines.Docker/Options/DockerContainerUpdateOptions.cs
index 9bdf1ad197..e109c05f00 100644
--- a/src/ModularPipelines.Docker/Options/DockerContainerUpdateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContainerUpdateOptions.cs
@@ -19,47 +19,47 @@ IEnumerable container
public IEnumerable? Container { get; set; }
[CommandSwitch("--blkio-weight")]
- public string? BlkioWeight { get; set; }
+ public virtual string? BlkioWeight { get; set; }
[CommandSwitch("--cpu-period")]
- public string? CpuPeriod { get; set; }
+ public virtual string? CpuPeriod { get; set; }
[CommandSwitch("--cpu-quota")]
- public string? CpuQuota { get; set; }
+ public virtual string? CpuQuota { get; set; }
[CommandSwitch("--cpu-rt-period")]
- public string? CpuRtPeriod { get; set; }
+ public virtual string? CpuRtPeriod { get; set; }
[CommandSwitch("--cpu-rt-runtime")]
- public string? CpuRtRuntime { get; set; }
+ public virtual string? CpuRtRuntime { get; set; }
[CommandSwitch("--cpu-shares")]
- public string? CpuShares { get; set; }
+ public virtual string? CpuShares { get; set; }
[CommandSwitch("--cpus")]
- public string? Cpus { get; set; }
+ public virtual string? Cpus { get; set; }
[CommandSwitch("--cpuset-cpus")]
- public string? CpusetCpus { get; set; }
+ public virtual string? CpusetCpus { get; set; }
[CommandSwitch("--cpuset-mems")]
- public string? CpusetMems { get; set; }
+ public virtual string? CpusetMems { get; set; }
[CommandSwitch("--kernel-memory")]
- public string? KernelMemory { get; set; }
+ public virtual string? KernelMemory { get; set; }
[CommandSwitch("--memory")]
- public string? Memory { get; set; }
+ public virtual string? Memory { get; set; }
[CommandSwitch("--memory-reservation")]
- public string? MemoryReservation { get; set; }
+ public virtual string? MemoryReservation { get; set; }
[CommandSwitch("--memory-swap")]
- public string? MemorySwap { get; set; }
+ public virtual string? MemorySwap { get; set; }
[CommandSwitch("--pids-limit")]
- public string? PidsLimit { get; set; }
+ public virtual string? PidsLimit { get; set; }
[CommandSwitch("--restart")]
- public string? Restart { get; set; }
+ public virtual string? Restart { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContextCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerContextCreateOptions.cs
index 7dae504a39..7099baa724 100644
--- a/src/ModularPipelines.Docker/Options/DockerContextCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContextCreateOptions.cs
@@ -19,11 +19,11 @@ string context
public string? CreateContext { get; set; }
[CommandSwitch("--description")]
- public string? Description { get; set; }
+ public virtual string? Description { get; set; }
[CommandSwitch("--docker")]
- public string? Docker { get; set; }
+ public virtual string? Docker { get; set; }
[CommandSwitch("--from")]
- public string? From { get; set; }
+ public virtual string? From { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContextInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerContextInspectOptions.cs
index 907e5c2be6..81aec1b18a 100644
--- a/src/ModularPipelines.Docker/Options/DockerContextInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContextInspectOptions.cs
@@ -11,5 +11,5 @@ public record DockerContextInspectOptions : DockerOptions
public string? InspectContext { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContextLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerContextLsOptions.cs
index f7e41c59fd..fae94c7118 100644
--- a/src/ModularPipelines.Docker/Options/DockerContextLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContextLsOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerContextLsOptions : DockerOptions
{
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContextRmOptions.cs b/src/ModularPipelines.Docker/Options/DockerContextRmOptions.cs
index 1cde79d955..ace3b0ad3a 100644
--- a/src/ModularPipelines.Docker/Options/DockerContextRmOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContextRmOptions.cs
@@ -11,5 +11,5 @@ public record DockerContextRmOptions : DockerOptions
public IEnumerable? RmContext { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerContextUpdateOptions.cs b/src/ModularPipelines.Docker/Options/DockerContextUpdateOptions.cs
index c777d258cf..1bde335093 100644
--- a/src/ModularPipelines.Docker/Options/DockerContextUpdateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerContextUpdateOptions.cs
@@ -19,8 +19,8 @@ string context
public string? UpdateContext { get; set; }
[CommandSwitch("--description")]
- public string? Description { get; set; }
+ public virtual string? Description { get; set; }
[CommandSwitch("--docker")]
- public string? Docker { get; set; }
+ public virtual string? Docker { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerImageBuildOptions.cs b/src/ModularPipelines.Docker/Options/DockerImageBuildOptions.cs
index 059fb7f8d1..8307c5a1a7 100644
--- a/src/ModularPipelines.Docker/Options/DockerImageBuildOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerImageBuildOptions.cs
@@ -20,92 +20,92 @@ string pathOrUrl
public string? PathOrUrl { get; set; }
[CommandSwitch("--add-host")]
- public string? AddHost { get; set; }
+ public virtual string? AddHost { get; set; }
[CommandSwitch("--build-arg")]
- public IEnumerable? BuildArg { get; set; }
+ public virtual IEnumerable? BuildArg { get; set; }
[CommandSwitch("--cache-from")]
- public string? CacheFrom { get; set; }
+ public virtual string? CacheFrom { get; set; }
[CommandSwitch("--cgroup-parent")]
- public string? CgroupParent { get; set; }
+ public virtual string? CgroupParent { get; set; }
[BooleanCommandSwitch("--compress")]
- public bool? Compress { get; set; }
+ public virtual bool? Compress { get; set; }
[CommandSwitch("--cpu-period")]
- public string? CpuPeriod { get; set; }
+ public virtual string? CpuPeriod { get; set; }
[CommandSwitch("--cpu-quota")]
- public string? CpuQuota { get; set; }
+ public virtual string? CpuQuota { get; set; }
[CommandSwitch("--cpu-shares")]
- public string? CpuShares { get; set; }
+ public virtual string? CpuShares { get; set; }
[CommandSwitch("--cpuset-cpus")]
- public string? CpusetCpus { get; set; }
+ public virtual string? CpusetCpus { get; set; }
[CommandSwitch("--cpuset-mems")]
- public string? CpusetMems { get; set; }
+ public virtual string? CpusetMems { get; set; }
[BooleanCommandSwitch("--disable-content-trust")]
- public bool? DisableContentTrust { get; set; }
+ public virtual bool? DisableContentTrust { get; set; }
[CommandSwitch("--file")]
- public string? File { get; set; }
+ public virtual string? File { get; set; }
[BooleanCommandSwitch("--force-rm")]
- public bool? ForceRm { get; set; }
+ public virtual bool? ForceRm { get; set; }
[CommandSwitch("--iidfile")]
- public string? Iidfile { get; set; }
+ public virtual string? Iidfile { get; set; }
[BooleanCommandSwitch("--isolation")]
- public bool? Isolation { get; set; }
+ public virtual bool? Isolation { get; set; }
[CommandSwitch("--label")]
- public string? Label { get; set; }
+ public virtual string? Label { get; set; }
[CommandSwitch("--memory")]
- public string? Memory { get; set; }
+ public virtual string? Memory { get; set; }
[CommandSwitch("--memory-swap")]
- public string? MemorySwap { get; set; }
+ public virtual string? MemorySwap { get; set; }
[CommandSwitch("--network")]
- public string? Network { get; set; }
+ public virtual string? Network { get; set; }
[BooleanCommandSwitch("--no-cache")]
- public bool? NoCache { get; set; }
+ public virtual bool? NoCache { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[BooleanCommandSwitch("--pull")]
- public bool? Pull { get; set; }
+ public virtual bool? Pull { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[BooleanCommandSwitch("--rm")]
- public bool? Rm { get; set; }
+ public virtual bool? Rm { get; set; }
[CommandSwitch("--security-opt")]
- public string? SecurityOpt { get; set; }
+ public virtual string? SecurityOpt { get; set; }
[CommandSwitch("--shm-size")]
- public string? ShmSize { get; set; }
+ public virtual string? ShmSize { get; set; }
[BooleanCommandSwitch("--squash")]
- public bool? Squash { get; set; }
+ public virtual bool? Squash { get; set; }
[CommandSwitch("--tag")]
- public string? Tag { get; set; }
+ public virtual string? Tag { get; set; }
[CommandSwitch("--target")]
- public string? Target { get; set; }
+ public virtual string? Target { get; set; }
[CommandSwitch("--ulimit")]
- public string? Ulimit { get; set; }
+ public virtual string? Ulimit { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerImageHistoryOptions.cs b/src/ModularPipelines.Docker/Options/DockerImageHistoryOptions.cs
index ade5f77479..b161dd6c79 100644
--- a/src/ModularPipelines.Docker/Options/DockerImageHistoryOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerImageHistoryOptions.cs
@@ -19,14 +19,14 @@ string image
public string? Image { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--human")]
- public bool? Human { get; set; }
+ public virtual bool? Human { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerImageImportOptions.cs b/src/ModularPipelines.Docker/Options/DockerImageImportOptions.cs
index 9783ef5e6d..2a83c28e13 100644
--- a/src/ModularPipelines.Docker/Options/DockerImageImportOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerImageImportOptions.cs
@@ -22,11 +22,11 @@ string fileOrUrl
public string? Repository { get; set; }
[CommandSwitch("--change")]
- public string? Change { get; set; }
+ public virtual string? Change { get; set; }
[CommandSwitch("--message")]
- public string? Message { get; set; }
+ public virtual string? Message { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerImageInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerImageInspectOptions.cs
index 35432634ff..7681c07962 100644
--- a/src/ModularPipelines.Docker/Options/DockerImageInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerImageInspectOptions.cs
@@ -19,5 +19,5 @@ IEnumerable image
public IEnumerable? Image { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerImageLoadOptions.cs b/src/ModularPipelines.Docker/Options/DockerImageLoadOptions.cs
index 456c8cf583..1ce7d56ed0 100644
--- a/src/ModularPipelines.Docker/Options/DockerImageLoadOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerImageLoadOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerImageLoadOptions : DockerOptions
{
[CommandSwitch("--input")]
- public string? Input { get; set; }
+ public virtual string? Input { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerImageLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerImageLsOptions.cs
index b7e0e79365..51cfaa7c87 100644
--- a/src/ModularPipelines.Docker/Options/DockerImageLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerImageLsOptions.cs
@@ -11,20 +11,20 @@ public record DockerImageLsOptions : DockerOptions
public string? Repository { get; set; }
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[BooleanCommandSwitch("--digests")]
- public bool? Digests { get; set; }
+ public virtual bool? Digests { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerImagePruneOptions.cs b/src/ModularPipelines.Docker/Options/DockerImagePruneOptions.cs
index f04ad05719..1ceaec76a0 100644
--- a/src/ModularPipelines.Docker/Options/DockerImagePruneOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerImagePruneOptions.cs
@@ -8,11 +8,11 @@ namespace ModularPipelines.Docker.Options;
public record DockerImagePruneOptions : DockerOptions
{
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerImagePullOptions.cs b/src/ModularPipelines.Docker/Options/DockerImagePullOptions.cs
index 55d17eb17a..a4580729d4 100644
--- a/src/ModularPipelines.Docker/Options/DockerImagePullOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerImagePullOptions.cs
@@ -19,14 +19,14 @@ string name
public string? Name { get; set; }
[BooleanCommandSwitch("--all-tags")]
- public bool? AllTags { get; set; }
+ public virtual bool? AllTags { get; set; }
[BooleanCommandSwitch("--disable-content-trust")]
- public bool? DisableContentTrust { get; set; }
+ public virtual bool? DisableContentTrust { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerImagePushOptions.cs b/src/ModularPipelines.Docker/Options/DockerImagePushOptions.cs
index 95a929acfc..e726acd480 100644
--- a/src/ModularPipelines.Docker/Options/DockerImagePushOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerImagePushOptions.cs
@@ -19,11 +19,11 @@ string name
public string? Name { get; set; }
[BooleanCommandSwitch("--all-tags")]
- public bool? AllTags { get; set; }
+ public virtual bool? AllTags { get; set; }
[BooleanCommandSwitch("--disable-content-trust")]
- public bool? DisableContentTrust { get; set; }
+ public virtual bool? DisableContentTrust { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerImageRmOptions.cs b/src/ModularPipelines.Docker/Options/DockerImageRmOptions.cs
index 16cdd6288d..f89c928e0f 100644
--- a/src/ModularPipelines.Docker/Options/DockerImageRmOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerImageRmOptions.cs
@@ -19,8 +19,8 @@ IEnumerable image
public IEnumerable? Image { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
[BooleanCommandSwitch("--no-prune")]
- public bool? NoPrune { get; set; }
+ public virtual bool? NoPrune { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerImageSaveOptions.cs b/src/ModularPipelines.Docker/Options/DockerImageSaveOptions.cs
index c78048b0f0..492bf4351e 100644
--- a/src/ModularPipelines.Docker/Options/DockerImageSaveOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerImageSaveOptions.cs
@@ -19,5 +19,5 @@ IEnumerable image
public IEnumerable? Image { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerInitOptions.cs b/src/ModularPipelines.Docker/Options/DockerInitOptions.cs
index fc2ca998f4..ed51701245 100644
--- a/src/ModularPipelines.Docker/Options/DockerInitOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerInitOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Docker.Options;
public record DockerInitOptions : DockerOptions
{
[CommandSwitch("--version")]
- public string? Version { get; set; }
+ public virtual string? Version { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerInspectOptions.cs
index 73926e001a..6f5daf5f19 100644
--- a/src/ModularPipelines.Docker/Options/DockerInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerInspectOptions.cs
@@ -19,11 +19,11 @@ IEnumerable nameOrId
public IEnumerable? NameOrId { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--size")]
- public string? Size { get; set; }
+ public virtual string? Size { get; set; }
[CommandSwitch("--type")]
- public string? Type { get; set; }
+ public virtual string? Type { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerLoginOptions.cs b/src/ModularPipelines.Docker/Options/DockerLoginOptions.cs
index bc04bff936..a7ce142386 100644
--- a/src/ModularPipelines.Docker/Options/DockerLoginOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerLoginOptions.cs
@@ -11,11 +11,11 @@ public record DockerLoginOptions : DockerOptions
public string? Server { get; set; }
[CommandSwitch("--password")]
- public string? Password { get; set; }
+ public virtual string? Password { get; set; }
[CommandSwitch("--password-stdin")]
- public string? PasswordStdin { get; set; }
+ public virtual string? PasswordStdin { get; set; }
[CommandSwitch("--username")]
- public string? Username { get; set; }
+ public virtual string? Username { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerManifestAnnotateOptions.cs b/src/ModularPipelines.Docker/Options/DockerManifestAnnotateOptions.cs
index b9b3ed6d3d..0f730b9575 100644
--- a/src/ModularPipelines.Docker/Options/DockerManifestAnnotateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerManifestAnnotateOptions.cs
@@ -25,17 +25,17 @@ string manifest
public string? Manifest { get; set; }
[CommandSwitch("--arch")]
- public string? Arch { get; set; }
+ public virtual string? Arch { get; set; }
[CommandSwitch("--os")]
- public string? Os { get; set; }
+ public virtual string? Os { get; set; }
[CommandSwitch("--os-features")]
- public string? OsFeatures { get; set; }
+ public virtual string? OsFeatures { get; set; }
[CommandSwitch("--os-version")]
- public string? OsVersion { get; set; }
+ public virtual string? OsVersion { get; set; }
[CommandSwitch("--variant")]
- public string? Variant { get; set; }
+ public virtual string? Variant { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerManifestCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerManifestCreateOptions.cs
index cc3f17dc8a..31ac3c4d0c 100644
--- a/src/ModularPipelines.Docker/Options/DockerManifestCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerManifestCreateOptions.cs
@@ -11,8 +11,8 @@ public record DockerManifestCreateOptions : DockerOptions
public IEnumerable? Manifest { get; set; }
[CommandSwitch("--amend")]
- public string? Amend { get; set; }
+ public virtual string? Amend { get; set; }
[CommandSwitch("--insecure")]
- public string? Insecure { get; set; }
+ public virtual string? Insecure { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerManifestInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerManifestInspectOptions.cs
index c1ca0079fb..36329d522b 100644
--- a/src/ModularPipelines.Docker/Options/DockerManifestInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerManifestInspectOptions.cs
@@ -22,8 +22,8 @@ string manifest
public string? Manifest { get; set; }
[CommandSwitch("--insecure")]
- public string? Insecure { get; set; }
+ public virtual string? Insecure { get; set; }
[CommandSwitch("--verbose")]
- public string? Verbose { get; set; }
+ public virtual string? Verbose { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerManifestPushOptions.cs b/src/ModularPipelines.Docker/Options/DockerManifestPushOptions.cs
index 716989e898..69c6dab670 100644
--- a/src/ModularPipelines.Docker/Options/DockerManifestPushOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerManifestPushOptions.cs
@@ -19,8 +19,8 @@ string manifestList
public string? ManifestList { get; set; }
[CommandSwitch("--insecure")]
- public string? Insecure { get; set; }
+ public virtual string? Insecure { get; set; }
[CommandSwitch("--purge")]
- public string? Purge { get; set; }
+ public virtual string? Purge { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNetworkConnectOptions.cs b/src/ModularPipelines.Docker/Options/DockerNetworkConnectOptions.cs
index 00fd007c6c..d48d3e6775 100644
--- a/src/ModularPipelines.Docker/Options/DockerNetworkConnectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNetworkConnectOptions.cs
@@ -25,20 +25,20 @@ string container
public string? Container { get; set; }
[CommandSwitch("--alias")]
- public string? Alias { get; set; }
+ public virtual string? Alias { get; set; }
[CommandSwitch("--driver-opt")]
- public string? DriverOpt { get; set; }
+ public virtual string? DriverOpt { get; set; }
[CommandSwitch("--ip")]
- public string? Ip { get; set; }
+ public virtual string? Ip { get; set; }
[CommandSwitch("--ip6")]
- public string? Ip6 { get; set; }
+ public virtual string? Ip6 { get; set; }
[CommandSwitch("--link")]
- public string? Link { get; set; }
+ public virtual string? Link { get; set; }
[CommandSwitch("--link-local-ip")]
- public string? LinkLocalIp { get; set; }
+ public virtual string? LinkLocalIp { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNetworkCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerNetworkCreateOptions.cs
index ddf25acba4..4a1faa09ae 100644
--- a/src/ModularPipelines.Docker/Options/DockerNetworkCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNetworkCreateOptions.cs
@@ -19,50 +19,50 @@ string network
public string? Network { get; set; }
[CommandSwitch("--attachable")]
- public string? Attachable { get; set; }
+ public virtual string? Attachable { get; set; }
[CommandSwitch("--aux-address")]
- public string? AuxAddress { get; set; }
+ public virtual string? AuxAddress { get; set; }
[CommandSwitch("--config-from")]
- public string? ConfigFrom { get; set; }
+ public virtual string? ConfigFrom { get; set; }
[CommandSwitch("--config-only")]
- public string? ConfigOnly { get; set; }
+ public virtual string? ConfigOnly { get; set; }
[CommandSwitch("--driver")]
- public string? Driver { get; set; }
+ public virtual string? Driver { get; set; }
[CommandSwitch("--gateway")]
- public string? Gateway { get; set; }
+ public virtual string? Gateway { get; set; }
[CommandSwitch("--ingress")]
- public string? Ingress { get; set; }
+ public virtual string? Ingress { get; set; }
[CommandSwitch("--internal")]
- public string? Internal { get; set; }
+ public virtual string? Internal { get; set; }
[CommandSwitch("--ip-range")]
- public string? IpRange { get; set; }
+ public virtual string? IpRange { get; set; }
[CommandSwitch("--ipam-driver")]
- public string? IpamDriver { get; set; }
+ public virtual string? IpamDriver { get; set; }
[CommandSwitch("--ipam-opt")]
- public string? IpamOpt { get; set; }
+ public virtual string? IpamOpt { get; set; }
[CommandSwitch("--ipv6")]
- public string? Ipv6 { get; set; }
+ public virtual string? Ipv6 { get; set; }
[CommandSwitch("--label")]
- public string? Label { get; set; }
+ public virtual string? Label { get; set; }
[CommandSwitch("--opt")]
- public string? Opt { get; set; }
+ public virtual string? Opt { get; set; }
[CommandSwitch("--scope")]
- public string? Scope { get; set; }
+ public virtual string? Scope { get; set; }
[CommandSwitch("--subnet")]
- public string? Subnet { get; set; }
+ public virtual string? Subnet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNetworkDisconnectOptions.cs b/src/ModularPipelines.Docker/Options/DockerNetworkDisconnectOptions.cs
index ad28970e6e..f85cad4bce 100644
--- a/src/ModularPipelines.Docker/Options/DockerNetworkDisconnectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNetworkDisconnectOptions.cs
@@ -25,5 +25,5 @@ string container
public string? Container { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNetworkInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerNetworkInspectOptions.cs
index ebb06964bd..ab31aab39c 100644
--- a/src/ModularPipelines.Docker/Options/DockerNetworkInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNetworkInspectOptions.cs
@@ -19,8 +19,8 @@ IEnumerable network
public IEnumerable? Network { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--verbose")]
- public string? Verbose { get; set; }
+ public virtual string? Verbose { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNetworkLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerNetworkLsOptions.cs
index 9b277b6d53..fa7143a1c0 100644
--- a/src/ModularPipelines.Docker/Options/DockerNetworkLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNetworkLsOptions.cs
@@ -8,14 +8,14 @@ namespace ModularPipelines.Docker.Options;
public record DockerNetworkLsOptions : DockerOptions
{
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNetworkPruneOptions.cs b/src/ModularPipelines.Docker/Options/DockerNetworkPruneOptions.cs
index 73795dfb5a..6b3de4d118 100644
--- a/src/ModularPipelines.Docker/Options/DockerNetworkPruneOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNetworkPruneOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerNetworkPruneOptions : DockerOptions
{
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNetworkRmOptions.cs b/src/ModularPipelines.Docker/Options/DockerNetworkRmOptions.cs
index 23ba7dc676..3340753cc1 100644
--- a/src/ModularPipelines.Docker/Options/DockerNetworkRmOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNetworkRmOptions.cs
@@ -11,5 +11,5 @@ public record DockerNetworkRmOptions : DockerOptions
public IEnumerable? Network { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNodeInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerNodeInspectOptions.cs
index 542169c4b6..e3ab356567 100644
--- a/src/ModularPipelines.Docker/Options/DockerNodeInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNodeInspectOptions.cs
@@ -22,8 +22,8 @@ string selfOrNode
public IEnumerable? Node { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--pretty")]
- public string? Pretty { get; set; }
+ public virtual string? Pretty { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNodeLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerNodeLsOptions.cs
index 8a248311ba..3b074e64f2 100644
--- a/src/ModularPipelines.Docker/Options/DockerNodeLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNodeLsOptions.cs
@@ -8,11 +8,11 @@ namespace ModularPipelines.Docker.Options;
public record DockerNodeLsOptions : DockerOptions
{
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNodePsOptions.cs b/src/ModularPipelines.Docker/Options/DockerNodePsOptions.cs
index 35babd46a9..f044520fdb 100644
--- a/src/ModularPipelines.Docker/Options/DockerNodePsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNodePsOptions.cs
@@ -11,17 +11,17 @@ public record DockerNodePsOptions : DockerOptions
public IEnumerable? Node { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--no-resolve")]
- public bool? NoResolve { get; set; }
+ public virtual bool? NoResolve { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNodeRmOptions.cs b/src/ModularPipelines.Docker/Options/DockerNodeRmOptions.cs
index 1ad55c5502..c20b1c4812 100644
--- a/src/ModularPipelines.Docker/Options/DockerNodeRmOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNodeRmOptions.cs
@@ -19,5 +19,5 @@ IEnumerable node
public IEnumerable? Node { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerNodeUpdateOptions.cs b/src/ModularPipelines.Docker/Options/DockerNodeUpdateOptions.cs
index 9275398f19..7d9d1e267c 100644
--- a/src/ModularPipelines.Docker/Options/DockerNodeUpdateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerNodeUpdateOptions.cs
@@ -19,14 +19,14 @@ string node
public string? Node { get; set; }
[CommandSwitch("--availability")]
- public string? Availability { get; set; }
+ public virtual string? Availability { get; set; }
[CommandSwitch("--label-add")]
- public string? LabelAdd { get; set; }
+ public virtual string? LabelAdd { get; set; }
[CommandSwitch("--label-rm")]
- public string? LabelRm { get; set; }
+ public virtual string? LabelRm { get; set; }
[CommandSwitch("--role")]
- public string? Role { get; set; }
+ public virtual string? Role { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerOptions.cs b/src/ModularPipelines.Docker/Options/DockerOptions.cs
index a60f818f2f..618b083f3e 100644
--- a/src/ModularPipelines.Docker/Options/DockerOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerOptions.cs
@@ -8,35 +8,35 @@ namespace ModularPipelines.Docker.Options;
public record DockerOptions() : CommandLineToolOptions("docker")
{
[CommandSwitch("--config")]
- public string? Config { get; set; }
+ public virtual string? Config { get; set; }
[CommandSwitch("--context")]
- public string? Context { get; set; }
+ public virtual string? Context { get; set; }
[CommandSwitch("--debug")]
- public string? Debug { get; set; }
+ public virtual string? Debug { get; set; }
[CommandSwitch("--help")]
- public string? Help { get; set; }
+ public virtual string? Help { get; set; }
[CommandSwitch("--host")]
- public string? Host { get; set; }
+ public virtual string? Host { get; set; }
[CommandSwitch("--log-level")]
- public string? LogLevel { get; set; }
+ public virtual string? LogLevel { get; set; }
[CommandSwitch("--tls")]
- public string? Tls { get; set; }
+ public virtual string? Tls { get; set; }
[CommandSwitch("--tlscacert")]
- public string? Tlscacert { get; set; }
+ public virtual string? Tlscacert { get; set; }
[CommandSwitch("--tlscert")]
- public string? Tlscert { get; set; }
+ public virtual string? Tlscert { get; set; }
[CommandSwitch("--tlskey")]
- public string? Tlskey { get; set; }
+ public virtual string? Tlskey { get; set; }
[CommandSwitch("--tlsverify")]
- public string? Tlsverify { get; set; }
+ public virtual string? Tlsverify { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerPluginCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerPluginCreateOptions.cs
index a469b45e95..9a10c716b9 100644
--- a/src/ModularPipelines.Docker/Options/DockerPluginCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerPluginCreateOptions.cs
@@ -25,5 +25,5 @@ string pluginDataDir
public string? PluginDataDir { get; set; }
[BooleanCommandSwitch("--compress")]
- public bool? Compress { get; set; }
+ public virtual bool? Compress { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerPluginDisableOptions.cs b/src/ModularPipelines.Docker/Options/DockerPluginDisableOptions.cs
index ef47a7ad6e..131bc047b8 100644
--- a/src/ModularPipelines.Docker/Options/DockerPluginDisableOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerPluginDisableOptions.cs
@@ -19,5 +19,5 @@ string plugin
public string? Plugin { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerPluginEnableOptions.cs b/src/ModularPipelines.Docker/Options/DockerPluginEnableOptions.cs
index 4cdbf0a1ad..8ca7ba452c 100644
--- a/src/ModularPipelines.Docker/Options/DockerPluginEnableOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerPluginEnableOptions.cs
@@ -19,5 +19,5 @@ string plugin
public string? Plugin { get; set; }
[CommandSwitch("--timeout")]
- public int? Timeout { get; set; }
+ public virtual int? Timeout { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerPluginInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerPluginInspectOptions.cs
index d2b7e1f010..2c0e6d0cb1 100644
--- a/src/ModularPipelines.Docker/Options/DockerPluginInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerPluginInspectOptions.cs
@@ -19,5 +19,5 @@ IEnumerable plugin
public IEnumerable? Plugin { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerPluginInstallOptions.cs b/src/ModularPipelines.Docker/Options/DockerPluginInstallOptions.cs
index 3ce617b9e7..8704f51a72 100644
--- a/src/ModularPipelines.Docker/Options/DockerPluginInstallOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerPluginInstallOptions.cs
@@ -23,14 +23,14 @@ string plugin
public IEnumerable? KeyValue { get; set; }
[CommandSwitch("--alias")]
- public string? Alias { get; set; }
+ public virtual string? Alias { get; set; }
[CommandSwitch("--disable")]
- public string? Disable { get; set; }
+ public virtual string? Disable { get; set; }
[BooleanCommandSwitch("--disable-content-trust")]
- public bool? DisableContentTrust { get; set; }
+ public virtual bool? DisableContentTrust { get; set; }
[CommandSwitch("--grant-all-permissions")]
- public string? GrantAllPermissions { get; set; }
+ public virtual string? GrantAllPermissions { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerPluginLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerPluginLsOptions.cs
index 3baf73a15a..8f2bef8685 100644
--- a/src/ModularPipelines.Docker/Options/DockerPluginLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerPluginLsOptions.cs
@@ -8,14 +8,14 @@ namespace ModularPipelines.Docker.Options;
public record DockerPluginLsOptions : DockerOptions
{
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerPluginRmOptions.cs b/src/ModularPipelines.Docker/Options/DockerPluginRmOptions.cs
index e47ce00d73..aa2a8ff6d9 100644
--- a/src/ModularPipelines.Docker/Options/DockerPluginRmOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerPluginRmOptions.cs
@@ -19,5 +19,5 @@ IEnumerable plugin
public IEnumerable? Plugin { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerPluginUpgradeOptions.cs b/src/ModularPipelines.Docker/Options/DockerPluginUpgradeOptions.cs
index 8eef7746ff..aff04f1262 100644
--- a/src/ModularPipelines.Docker/Options/DockerPluginUpgradeOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerPluginUpgradeOptions.cs
@@ -22,11 +22,11 @@ string plugin
public string? Remote { get; set; }
[BooleanCommandSwitch("--disable-content-trust")]
- public bool? DisableContentTrust { get; set; }
+ public virtual bool? DisableContentTrust { get; set; }
[CommandSwitch("--grant-all-permissions")]
- public string? GrantAllPermissions { get; set; }
+ public virtual string? GrantAllPermissions { get; set; }
[CommandSwitch("--skip-remote-check")]
- public string? SkipRemoteCheck { get; set; }
+ public virtual string? SkipRemoteCheck { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutCachePruneOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutCachePruneOptions.cs
index b313fb5176..67b5c5f964 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutCachePruneOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutCachePruneOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerScoutCachePruneOptions : DockerOptions
{
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
[CommandSwitch("--sboms")]
- public string? Sboms { get; set; }
+ public virtual string? Sboms { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutCompareOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutCompareOptions.cs
index 45c70b87d6..aa28475be8 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutCompareOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutCompareOptions.cs
@@ -11,65 +11,65 @@ public record DockerScoutCompareOptions : DockerOptions
public string? ImageOrDirectoryOrArchive { get; set; }
[CommandSwitch("--exit-code")]
- public string? ExitCode { get; set; }
+ public virtual string? ExitCode { get; set; }
[CommandSwitch("--exit-on")]
- public string? ExitOn { get; set; }
+ public virtual string? ExitOn { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--hide-policies")]
- public string? HidePolicies { get; set; }
+ public virtual string? HidePolicies { get; set; }
[CommandSwitch("--ignore-base")]
- public string? IgnoreBase { get; set; }
+ public virtual string? IgnoreBase { get; set; }
[CommandSwitch("--ignore-unchanged")]
- public string? IgnoreUnchanged { get; set; }
+ public virtual string? IgnoreUnchanged { get; set; }
[CommandSwitch("--multi-stage")]
- public string? MultiStage { get; set; }
+ public virtual string? MultiStage { get; set; }
[CommandSwitch("--only-fixed")]
- public string? OnlyFixed { get; set; }
+ public virtual string? OnlyFixed { get; set; }
[CommandSwitch("--only-package-type")]
- public string? OnlyPackageType { get; set; }
+ public virtual string? OnlyPackageType { get; set; }
[CommandSwitch("--only-severity")]
- public string? OnlySeverity { get; set; }
+ public virtual string? OnlySeverity { get; set; }
[CommandSwitch("--only-stage")]
- public string? OnlyStage { get; set; }
+ public virtual string? OnlyStage { get; set; }
[CommandSwitch("--only-unfixed")]
- public string? OnlyUnfixed { get; set; }
+ public virtual string? OnlyUnfixed { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[CommandSwitch("--ref")]
- public string? Ref { get; set; }
+ public virtual string? Ref { get; set; }
[CommandSwitch("--to")]
- public string? To { get; set; }
+ public virtual string? To { get; set; }
[CommandSwitch("--to-env")]
- public string? ToEnv { get; set; }
+ public virtual string? ToEnv { get; set; }
[CommandSwitch("--to-latest")]
- public string? ToLatest { get; set; }
+ public virtual string? ToLatest { get; set; }
[CommandSwitch("--to-ref")]
- public string? ToRef { get; set; }
+ public virtual string? ToRef { get; set; }
[CommandSwitch("--to-stream")]
- public string? ToStream { get; set; }
+ public virtual string? ToStream { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutCvesOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutCvesOptions.cs
index fdb3c50851..4e01a6d2ad 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutCvesOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutCvesOptions.cs
@@ -11,77 +11,77 @@ public record DockerScoutCvesOptions : DockerOptions
public string? ImageOrDirectoryOrArchive { get; set; }
[BooleanCommandSwitch("--details")]
- public bool? Details { get; set; }
+ public virtual bool? Details { get; set; }
[CommandSwitch("--env")]
- public string? Env { get; set; }
+ public virtual string? Env { get; set; }
[CommandSwitch("--exit-code")]
- public string? ExitCode { get; set; }
+ public virtual string? ExitCode { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--ignore-base")]
- public string? IgnoreBase { get; set; }
+ public virtual string? IgnoreBase { get; set; }
[CommandSwitch("--locations")]
- public string? Locations { get; set; }
+ public virtual string? Locations { get; set; }
[CommandSwitch("--multi-stage")]
- public string? MultiStage { get; set; }
+ public virtual string? MultiStage { get; set; }
[CommandSwitch("--only-cve-id")]
- public string? OnlyCveId { get; set; }
+ public virtual string? OnlyCveId { get; set; }
[CommandSwitch("--only-fixed")]
- public string? OnlyFixed { get; set; }
+ public virtual string? OnlyFixed { get; set; }
[CommandSwitch("--only-metric")]
- public string? OnlyMetric { get; set; }
+ public virtual string? OnlyMetric { get; set; }
[CommandSwitch("--only-package")]
- public string? OnlyPackage { get; set; }
+ public virtual string? OnlyPackage { get; set; }
[CommandSwitch("--only-package-type")]
- public string? OnlyPackageType { get; set; }
+ public virtual string? OnlyPackageType { get; set; }
[CommandSwitch("--only-severity")]
- public string? OnlySeverity { get; set; }
+ public virtual string? OnlySeverity { get; set; }
[CommandSwitch("--only-stage")]
- public string? OnlyStage { get; set; }
+ public virtual string? OnlyStage { get; set; }
[CommandSwitch("--only-unfixed")]
- public string? OnlyUnfixed { get; set; }
+ public virtual string? OnlyUnfixed { get; set; }
[CommandSwitch("--only-vex-affected")]
- public string? OnlyVexAffected { get; set; }
+ public virtual string? OnlyVexAffected { get; set; }
[CommandSwitch("--only-vuln-packages")]
- public string? OnlyVulnPackages { get; set; }
+ public virtual string? OnlyVulnPackages { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[CommandSwitch("--ref")]
- public string? Ref { get; set; }
+ public virtual string? Ref { get; set; }
[CommandSwitch("--stream")]
- public string? Stream { get; set; }
+ public virtual string? Stream { get; set; }
[CommandSwitch("--vex")]
- public string? Vex { get; set; }
+ public virtual string? Vex { get; set; }
[CommandSwitch("--vex-author")]
- public string? VexAuthor { get; set; }
+ public virtual string? VexAuthor { get; set; }
[CommandSwitch("--vex-location")]
- public string? VexLocation { get; set; }
+ public virtual string? VexLocation { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutEnvironmentOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutEnvironmentOptions.cs
index 8380355b8b..efbc049770 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutEnvironmentOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutEnvironmentOptions.cs
@@ -14,11 +14,11 @@ public record DockerScoutEnvironmentOptions : DockerOptions
public string? Image { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutIntegrationConfigureOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutIntegrationConfigureOptions.cs
index 90c285820c..872f63c3c5 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutIntegrationConfigureOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutIntegrationConfigureOptions.cs
@@ -8,11 +8,11 @@ namespace ModularPipelines.Docker.Options;
public record DockerScoutIntegrationConfigureOptions : DockerOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
[CommandSwitch("--parameter")]
- public string? Parameter { get; set; }
+ public virtual string? Parameter { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutIntegrationDeleteOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutIntegrationDeleteOptions.cs
index 0928247a2c..753774ed1a 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutIntegrationDeleteOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutIntegrationDeleteOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerScoutIntegrationDeleteOptions : DockerOptions
{
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutIntegrationListOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutIntegrationListOptions.cs
index 40705d77b3..7ede1c211e 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutIntegrationListOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutIntegrationListOptions.cs
@@ -11,8 +11,8 @@ public record DockerScoutIntegrationListOptions : DockerOptions
public string? Integration { get; set; }
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutOptions.cs
index f5eb7acad7..e5a1fa24b9 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutOptions.cs
@@ -11,5 +11,5 @@ public record DockerScoutOptions : DockerOptions
public string? Command { get; set; }
[CommandSwitch("--verbose-debug")]
- public string? VerboseDebug { get; set; }
+ public virtual string? VerboseDebug { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutPolicyOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutPolicyOptions.cs
index e64e4b251a..86c53077be 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutPolicyOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutPolicyOptions.cs
@@ -11,23 +11,23 @@ public record DockerScoutPolicyOptions : DockerOptions
public string? ImageOrRepo { get; set; }
[CommandSwitch("--env")]
- public string? Env { get; set; }
+ public virtual string? Env { get; set; }
[CommandSwitch("--exit-code")]
- public string? ExitCode { get; set; }
+ public virtual string? ExitCode { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[CommandSwitch("--to-env")]
- public string? ToEnv { get; set; }
+ public virtual string? ToEnv { get; set; }
[CommandSwitch("--to-latest")]
- public string? ToLatest { get; set; }
+ public virtual string? ToLatest { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutQuickviewOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutQuickviewOptions.cs
index a74aa5b21d..11e958aaaa 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutQuickviewOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutQuickviewOptions.cs
@@ -11,23 +11,23 @@ public record DockerScoutQuickviewOptions : DockerOptions
public string? ImageOrDirectoryOrArchive { get; set; }
[CommandSwitch("--env")]
- public string? Env { get; set; }
+ public virtual string? Env { get; set; }
[CommandSwitch("--latest")]
- public string? Latest { get; set; }
+ public virtual string? Latest { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[CommandSwitch("--ref")]
- public string? Ref { get; set; }
+ public virtual string? Ref { get; set; }
[CommandSwitch("--stream")]
- public string? Stream { get; set; }
+ public virtual string? Stream { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutRecommendationsOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutRecommendationsOptions.cs
index e4cd213330..c29de43d92 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutRecommendationsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutRecommendationsOptions.cs
@@ -11,23 +11,23 @@ public record DockerScoutRecommendationsOptions : DockerOptions
public string? ImageOrDirectoryOrArchive { get; set; }
[CommandSwitch("--only-refresh")]
- public string? OnlyRefresh { get; set; }
+ public virtual string? OnlyRefresh { get; set; }
[CommandSwitch("--only-update")]
- public string? OnlyUpdate { get; set; }
+ public virtual string? OnlyUpdate { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[CommandSwitch("--ref")]
- public string? Ref { get; set; }
+ public virtual string? Ref { get; set; }
[CommandSwitch("--tag")]
- public string? Tag { get; set; }
+ public virtual string? Tag { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutRepoDisableOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutRepoDisableOptions.cs
index 80db90c4b1..f84cdc4917 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutRepoDisableOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutRepoDisableOptions.cs
@@ -11,17 +11,17 @@ public record DockerScoutRepoDisableOptions : DockerOptions
public string? Repository { get; set; }
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--integration")]
- public string? Integration { get; set; }
+ public virtual string? Integration { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
[CommandSwitch("--registry")]
- public string? Registry { get; set; }
+ public virtual string? Registry { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutRepoEnableOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutRepoEnableOptions.cs
index 4e0c9dce6a..603e8ae88b 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutRepoEnableOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutRepoEnableOptions.cs
@@ -11,17 +11,17 @@ public record DockerScoutRepoEnableOptions : DockerOptions
public string? Repository { get; set; }
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--integration")]
- public string? Integration { get; set; }
+ public virtual string? Integration { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
[CommandSwitch("--registry")]
- public string? Registry { get; set; }
+ public virtual string? Registry { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutRepoListOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutRepoListOptions.cs
index c1f259bcc6..b4b06552f6 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutRepoListOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutRepoListOptions.cs
@@ -8,17 +8,17 @@ namespace ModularPipelines.Docker.Options;
public record DockerScoutRepoListOptions : DockerOptions
{
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--only-disabled")]
- public string? OnlyDisabled { get; set; }
+ public virtual string? OnlyDisabled { get; set; }
[CommandSwitch("--only-enabled")]
- public string? OnlyEnabled { get; set; }
+ public virtual string? OnlyEnabled { get; set; }
[CommandSwitch("--only-registry")]
- public string? OnlyRegistry { get; set; }
+ public virtual string? OnlyRegistry { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutSbomOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutSbomOptions.cs
index 95a2175aa2..f28a321b95 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutSbomOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutSbomOptions.cs
@@ -11,17 +11,17 @@ public record DockerScoutSbomOptions : DockerOptions
public string? ImageOrDirectoryOrArchive { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--only-package-type")]
- public string? OnlyPackageType { get; set; }
+ public virtual string? OnlyPackageType { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
[CommandSwitch("--ref")]
- public string? Ref { get; set; }
+ public virtual string? Ref { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutStreamOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutStreamOptions.cs
index 1a374d07b0..e25f2c2d64 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutStreamOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutStreamOptions.cs
@@ -14,11 +14,11 @@ public record DockerScoutStreamOptions : DockerOptions
public string? Image { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
[CommandSwitch("--output")]
- public string? Output { get; set; }
+ public virtual string? Output { get; set; }
[CommandSwitch("--platform")]
- public string? Platform { get; set; }
+ public virtual string? Platform { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerScoutWatchOptions.cs b/src/ModularPipelines.Docker/Options/DockerScoutWatchOptions.cs
index 0272cb49d2..8fd4fe6c0f 100644
--- a/src/ModularPipelines.Docker/Options/DockerScoutWatchOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerScoutWatchOptions.cs
@@ -8,32 +8,32 @@ namespace ModularPipelines.Docker.Options;
public record DockerScoutWatchOptions : DockerOptions
{
[CommandSwitch("--all-images")]
- public string? AllImages { get; set; }
+ public virtual string? AllImages { get; set; }
[BooleanCommandSwitch("--dry-run")]
- public bool? DryRun { get; set; }
+ public virtual bool? DryRun { get; set; }
[CommandSwitch("--interval")]
- public int? Interval { get; set; }
+ public virtual int? Interval { get; set; }
[CommandSwitch("--org")]
- public string? Org { get; set; }
+ public virtual string? Org { get; set; }
[CommandSwitch("--refresh-registry")]
- public string? RefreshRegistry { get; set; }
+ public virtual string? RefreshRegistry { get; set; }
[CommandSwitch("--registry")]
- public string? Registry { get; set; }
+ public virtual string? Registry { get; set; }
[CommandSwitch("--repository")]
- public string? Repository { get; set; }
+ public virtual string? Repository { get; set; }
[BooleanCommandSwitch("--sbom")]
- public bool? Sbom { get; set; }
+ public virtual bool? Sbom { get; set; }
[CommandSwitch("--tag")]
- public string? Tag { get; set; }
+ public virtual string? Tag { get; set; }
[CommandSwitch("--workers")]
- public int? Workers { get; set; }
+ public virtual int? Workers { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSearchOptions.cs b/src/ModularPipelines.Docker/Options/DockerSearchOptions.cs
index 53aa8dda3d..fcd790d9b6 100644
--- a/src/ModularPipelines.Docker/Options/DockerSearchOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSearchOptions.cs
@@ -19,14 +19,14 @@ string term
public string? Term { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--limit")]
- public string? Limit { get; set; }
+ public virtual string? Limit { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSecretCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerSecretCreateOptions.cs
index 0f5e46100a..e3044a7d79 100644
--- a/src/ModularPipelines.Docker/Options/DockerSecretCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSecretCreateOptions.cs
@@ -22,11 +22,11 @@ string secret
public string? File { get; set; }
[CommandSwitch("--driver")]
- public string? Driver { get; set; }
+ public virtual string? Driver { get; set; }
[CommandSwitch("--label")]
- public string? Label { get; set; }
+ public virtual string? Label { get; set; }
[CommandSwitch("--template-driver")]
- public string? TemplateDriver { get; set; }
+ public virtual string? TemplateDriver { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSecretInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerSecretInspectOptions.cs
index 78aa65a7e9..dc51d3473d 100644
--- a/src/ModularPipelines.Docker/Options/DockerSecretInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSecretInspectOptions.cs
@@ -19,8 +19,8 @@ IEnumerable secret
public IEnumerable? Secret { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--pretty")]
- public string? Pretty { get; set; }
+ public virtual string? Pretty { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSecretLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerSecretLsOptions.cs
index dad8c8e1a4..078eb65c4d 100644
--- a/src/ModularPipelines.Docker/Options/DockerSecretLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSecretLsOptions.cs
@@ -8,11 +8,11 @@ namespace ModularPipelines.Docker.Options;
public record DockerSecretLsOptions : DockerOptions
{
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerServiceCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerServiceCreateOptions.cs
index ebebb0bc94..da74d4120f 100644
--- a/src/ModularPipelines.Docker/Options/DockerServiceCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerServiceCreateOptions.cs
@@ -25,212 +25,212 @@ string image
public IEnumerable? Arg { get; set; }
[CommandSwitch("--cap-add")]
- public string? CapAdd { get; set; }
+ public virtual string? CapAdd { get; set; }
[CommandSwitch("--cap-drop")]
- public string? CapDrop { get; set; }
+ public virtual string? CapDrop { get; set; }
[CommandSwitch("--constraint")]
- public string? Constraint { get; set; }
+ public virtual string? Constraint { get; set; }
[CommandSwitch("--container-label")]
- public string? ContainerLabel { get; set; }
+ public virtual string? ContainerLabel { get; set; }
[CommandSwitch("--credential-spec")]
- public string? CredentialSpec { get; set; }
+ public virtual string? CredentialSpec { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[CommandSwitch("--dns")]
- public string? Dns { get; set; }
+ public virtual string? Dns { get; set; }
[CommandSwitch("--dns-option")]
- public string? DnsOption { get; set; }
+ public virtual string? DnsOption { get; set; }
[CommandSwitch("--dns-search")]
- public string? DnsSearch { get; set; }
+ public virtual string? DnsSearch { get; set; }
[CommandSwitch("--endpoint-mode")]
- public string? EndpointMode { get; set; }
+ public virtual string? EndpointMode { get; set; }
[CommandSwitch("--entrypoint")]
- public string? Entrypoint { get; set; }
+ public virtual string? Entrypoint { get; set; }
[CommandSwitch("--env")]
- public string? Env { get; set; }
+ public virtual string? Env { get; set; }
[CommandSwitch("--env-file")]
- public string? EnvFile { get; set; }
+ public virtual string? EnvFile { get; set; }
[CommandSwitch("--generic-resource")]
- public string? GenericResource { get; set; }
+ public virtual string? GenericResource { get; set; }
[CommandSwitch("--group")]
- public string? Group { get; set; }
+ public virtual string? Group { get; set; }
[CommandSwitch("--health-cmd")]
- public string? HealthCmd { get; set; }
+ public virtual string? HealthCmd { get; set; }
[CommandSwitch("--health-interval")]
- public string? HealthInterval { get; set; }
+ public virtual string? HealthInterval { get; set; }
[CommandSwitch("--health-retries")]
- public string? HealthRetries { get; set; }
+ public virtual string? HealthRetries { get; set; }
[CommandSwitch("--health-start-interval")]
- public string? HealthStartInterval { get; set; }
+ public virtual string? HealthStartInterval { get; set; }
[CommandSwitch("--health-start-period")]
- public string? HealthStartPeriod { get; set; }
+ public virtual string? HealthStartPeriod { get; set; }
[CommandSwitch("--health-timeout")]
- public string? HealthTimeout { get; set; }
+ public virtual string? HealthTimeout { get; set; }
[CommandSwitch("--hostname")]
- public string? Hostname { get; set; }
+ public virtual string? Hostname { get; set; }
[CommandSwitch("--init")]
- public string? Init { get; set; }
+ public virtual string? Init { get; set; }
[BooleanCommandSwitch("--isolation")]
- public bool? Isolation { get; set; }
+ public virtual bool? Isolation { get; set; }
[CommandSwitch("--label")]
- public string? Label { get; set; }
+ public virtual string? Label { get; set; }
[CommandSwitch("--limit-cpu")]
- public string? LimitCpu { get; set; }
+ public virtual string? LimitCpu { get; set; }
[CommandSwitch("--limit-memory")]
- public string? LimitMemory { get; set; }
+ public virtual string? LimitMemory { get; set; }
[CommandSwitch("--limit-pids")]
- public string? LimitPids { get; set; }
+ public virtual string? LimitPids { get; set; }
[CommandSwitch("--log-driver")]
- public string? LogDriver { get; set; }
+ public virtual string? LogDriver { get; set; }
[CommandSwitch("--log-opt")]
- public string? LogOpt { get; set; }
+ public virtual string? LogOpt { get; set; }
[CommandSwitch("--max-concurrent")]
- public string? MaxConcurrent { get; set; }
+ public virtual string? MaxConcurrent { get; set; }
[CommandSwitch("--mode")]
- public string? Mode { get; set; }
+ public virtual string? Mode { get; set; }
[CommandSwitch("--mount")]
- public string? Mount { get; set; }
+ public virtual string? Mount { get; set; }
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--network")]
- public string? Network { get; set; }
+ public virtual string? Network { get; set; }
[BooleanCommandSwitch("--no-healthcheck")]
- public bool? NoHealthcheck { get; set; }
+ public virtual bool? NoHealthcheck { get; set; }
[CommandSwitch("--no-resolve-image")]
- public string? NoResolveImage { get; set; }
+ public virtual string? NoResolveImage { get; set; }
[CommandSwitch("--placement-pref")]
- public string? PlacementPref { get; set; }
+ public virtual string? PlacementPref { get; set; }
[CommandSwitch("--publish")]
- public string? Publish { get; set; }
+ public virtual string? Publish { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[BooleanCommandSwitch("--read-only")]
- public bool? ReadOnly { get; set; }
+ public virtual bool? ReadOnly { get; set; }
[CommandSwitch("--replicas")]
- public string? Replicas { get; set; }
+ public virtual string? Replicas { get; set; }
[CommandSwitch("--replicas-max-per-node")]
- public string? ReplicasMaxPerNode { get; set; }
+ public virtual string? ReplicasMaxPerNode { get; set; }
[CommandSwitch("--reserve-cpu")]
- public string? ReserveCpu { get; set; }
+ public virtual string? ReserveCpu { get; set; }
[CommandSwitch("--reserve-memory")]
- public string? ReserveMemory { get; set; }
+ public virtual string? ReserveMemory { get; set; }
[CommandSwitch("--restart-condition")]
- public string? RestartCondition { get; set; }
+ public virtual string? RestartCondition { get; set; }
[CommandSwitch("--restart-delay")]
- public string? RestartDelay { get; set; }
+ public virtual string? RestartDelay { get; set; }
[CommandSwitch("--restart-max-attempts")]
- public string? RestartMaxAttempts { get; set; }
+ public virtual string? RestartMaxAttempts { get; set; }
[CommandSwitch("--restart-window")]
- public string? RestartWindow { get; set; }
+ public virtual string? RestartWindow { get; set; }
[CommandSwitch("--rollback-delay")]
- public string? RollbackDelay { get; set; }
+ public virtual string? RollbackDelay { get; set; }
[CommandSwitch("--rollback-failure-action")]
- public string? RollbackFailureAction { get; set; }
+ public virtual string? RollbackFailureAction { get; set; }
[CommandSwitch("--rollback-max-failure-ratio")]
- public string? RollbackMaxFailureRatio { get; set; }
+ public virtual string? RollbackMaxFailureRatio { get; set; }
[CommandSwitch("--rollback-monitor")]
- public string? RollbackMonitor { get; set; }
+ public virtual string? RollbackMonitor { get; set; }
[CommandSwitch("--rollback-order")]
- public string? RollbackOrder { get; set; }
+ public virtual string? RollbackOrder { get; set; }
[CommandSwitch("--rollback-parallelism")]
- public int? RollbackParallelism { get; set; }
+ public virtual int? RollbackParallelism { get; set; }
[CommandSwitch("--secret")]
- public string? Secret { get; set; }
+ public virtual string? Secret { get; set; }
[CommandSwitch("--stop-grace-period")]
- public string? StopGracePeriod { get; set; }
+ public virtual string? StopGracePeriod { get; set; }
[CommandSwitch("--stop-signal")]
- public string? StopSignal { get; set; }
+ public virtual string? StopSignal { get; set; }
[CommandSwitch("--sysctl")]
- public string? Sysctl { get; set; }
+ public virtual string? Sysctl { get; set; }
[CommandSwitch("--tty")]
- public string? Tty { get; set; }
+ public virtual string? Tty { get; set; }
[CommandSwitch("--ulimit")]
- public string? Ulimit { get; set; }
+ public virtual string? Ulimit { get; set; }
[CommandSwitch("--update-delay")]
- public string? UpdateDelay { get; set; }
+ public virtual string? UpdateDelay { get; set; }
[CommandSwitch("--update-failure-action")]
- public string? UpdateFailureAction { get; set; }
+ public virtual string? UpdateFailureAction { get; set; }
[CommandSwitch("--update-max-failure-ratio")]
- public string? UpdateMaxFailureRatio { get; set; }
+ public virtual string? UpdateMaxFailureRatio { get; set; }
[CommandSwitch("--update-monitor")]
- public string? UpdateMonitor { get; set; }
+ public virtual string? UpdateMonitor { get; set; }
[CommandSwitch("--update-order")]
- public string? UpdateOrder { get; set; }
+ public virtual string? UpdateOrder { get; set; }
[CommandSwitch("--update-parallelism")]
- public int? UpdateParallelism { get; set; }
+ public virtual int? UpdateParallelism { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--with-registry-auth")]
- public string? WithRegistryAuth { get; set; }
+ public virtual string? WithRegistryAuth { get; set; }
[CommandSwitch("--workdir")]
- public string? Workdir { get; set; }
+ public virtual string? Workdir { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerServiceInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerServiceInspectOptions.cs
index a1e6cad022..fe2a4f381d 100644
--- a/src/ModularPipelines.Docker/Options/DockerServiceInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerServiceInspectOptions.cs
@@ -19,8 +19,8 @@ IEnumerable service
public IEnumerable? Service { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--pretty")]
- public string? Pretty { get; set; }
+ public virtual string? Pretty { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerServiceLogsOptions.cs b/src/ModularPipelines.Docker/Options/DockerServiceLogsOptions.cs
index 087deaba11..da2e411417 100644
--- a/src/ModularPipelines.Docker/Options/DockerServiceLogsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerServiceLogsOptions.cs
@@ -19,29 +19,29 @@ string serviceOrTask
public string? ServiceOrTask { get; set; }
[BooleanCommandSwitch("--details")]
- public bool? Details { get; set; }
+ public virtual bool? Details { get; set; }
[BooleanCommandSwitch("--follow")]
- public bool? Follow { get; set; }
+ public virtual bool? Follow { get; set; }
[BooleanCommandSwitch("--no-resolve")]
- public bool? NoResolve { get; set; }
+ public virtual bool? NoResolve { get; set; }
[BooleanCommandSwitch("--no-task-ids")]
- public bool? NoTaskIds { get; set; }
+ public virtual bool? NoTaskIds { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
[BooleanCommandSwitch("--raw")]
- public bool? Raw { get; set; }
+ public virtual bool? Raw { get; set; }
[CommandSwitch("--since")]
- public string? Since { get; set; }
+ public virtual string? Since { get; set; }
[CommandSwitch("--tail")]
- public string? Tail { get; set; }
+ public virtual string? Tail { get; set; }
[BooleanCommandSwitch("--timestamps")]
- public bool? Timestamps { get; set; }
+ public virtual bool? Timestamps { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerServiceLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerServiceLsOptions.cs
index 608004a0bb..d4f35cfdff 100644
--- a/src/ModularPipelines.Docker/Options/DockerServiceLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerServiceLsOptions.cs
@@ -8,11 +8,11 @@ namespace ModularPipelines.Docker.Options;
public record DockerServiceLsOptions : DockerOptions
{
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerServicePsOptions.cs b/src/ModularPipelines.Docker/Options/DockerServicePsOptions.cs
index c9fa46656b..003ceb3496 100644
--- a/src/ModularPipelines.Docker/Options/DockerServicePsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerServicePsOptions.cs
@@ -19,17 +19,17 @@ IEnumerable service
public IEnumerable? Service { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--no-resolve")]
- public bool? NoResolve { get; set; }
+ public virtual bool? NoResolve { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerServiceRollbackOptions.cs b/src/ModularPipelines.Docker/Options/DockerServiceRollbackOptions.cs
index 40a831638f..798128b452 100644
--- a/src/ModularPipelines.Docker/Options/DockerServiceRollbackOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerServiceRollbackOptions.cs
@@ -19,8 +19,8 @@ string service
public string? Service { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerServiceScaleOptions.cs b/src/ModularPipelines.Docker/Options/DockerServiceScaleOptions.cs
index 342389c971..e00a8e35ed 100644
--- a/src/ModularPipelines.Docker/Options/DockerServiceScaleOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerServiceScaleOptions.cs
@@ -12,5 +12,5 @@ public record DockerServiceScaleOptions : DockerOptions
public IEnumerable? ServiceReplicas { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerServiceUpdateOptions.cs b/src/ModularPipelines.Docker/Options/DockerServiceUpdateOptions.cs
index 0a2cc6d416..e68075cc48 100644
--- a/src/ModularPipelines.Docker/Options/DockerServiceUpdateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerServiceUpdateOptions.cs
@@ -19,275 +19,275 @@ string service
public string? Service { get; set; }
[CommandSwitch("--args")]
- public string? Args { get; set; }
+ public virtual string? Args { get; set; }
[CommandSwitch("--cap-add")]
- public string? CapAdd { get; set; }
+ public virtual string? CapAdd { get; set; }
[CommandSwitch("--cap-drop")]
- public string? CapDrop { get; set; }
+ public virtual string? CapDrop { get; set; }
[CommandSwitch("--config-add")]
- public string? ConfigAdd { get; set; }
+ public virtual string? ConfigAdd { get; set; }
[CommandSwitch("--config-rm")]
- public string? ConfigRm { get; set; }
+ public virtual string? ConfigRm { get; set; }
[CommandSwitch("--constraint-add")]
- public string? ConstraintAdd { get; set; }
+ public virtual string? ConstraintAdd { get; set; }
[CommandSwitch("--constraint-rm")]
- public string? ConstraintRm { get; set; }
+ public virtual string? ConstraintRm { get; set; }
[CommandSwitch("--container-label-add")]
- public string? ContainerLabelAdd { get; set; }
+ public virtual string? ContainerLabelAdd { get; set; }
[CommandSwitch("--container-label-rm")]
- public string? ContainerLabelRm { get; set; }
+ public virtual string? ContainerLabelRm { get; set; }
[CommandSwitch("--credential-spec")]
- public string? CredentialSpec { get; set; }
+ public virtual string? CredentialSpec { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[CommandSwitch("--dns-add")]
- public string? DnsAdd { get; set; }
+ public virtual string? DnsAdd { get; set; }
[CommandSwitch("--dns-option-add")]
- public string? DnsOptionAdd { get; set; }
+ public virtual string? DnsOptionAdd { get; set; }
[CommandSwitch("--dns-option-rm")]
- public string? DnsOptionRm { get; set; }
+ public virtual string? DnsOptionRm { get; set; }
[CommandSwitch("--dns-rm")]
- public string? DnsRm { get; set; }
+ public virtual string? DnsRm { get; set; }
[CommandSwitch("--dns-search-add")]
- public string? DnsSearchAdd { get; set; }
+ public virtual string? DnsSearchAdd { get; set; }
[CommandSwitch("--dns-search-rm")]
- public string? DnsSearchRm { get; set; }
+ public virtual string? DnsSearchRm { get; set; }
[CommandSwitch("--endpoint-mode")]
- public string? EndpointMode { get; set; }
+ public virtual string? EndpointMode { get; set; }
[CommandSwitch("--entrypoint")]
- public string? Entrypoint { get; set; }
+ public virtual string? Entrypoint { get; set; }
[CommandSwitch("--env-add")]
- public string? EnvAdd { get; set; }
+ public virtual string? EnvAdd { get; set; }
[CommandSwitch("--env-rm")]
- public string? EnvRm { get; set; }
+ public virtual string? EnvRm { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
[CommandSwitch("--generic-resource-add")]
- public string? GenericResourceAdd { get; set; }
+ public virtual string? GenericResourceAdd { get; set; }
[CommandSwitch("--generic-resource-rm")]
- public string? GenericResourceRm { get; set; }
+ public virtual string? GenericResourceRm { get; set; }
[CommandSwitch("--group-add")]
- public string? GroupAdd { get; set; }
+ public virtual string? GroupAdd { get; set; }
[CommandSwitch("--group-rm")]
- public string? GroupRm { get; set; }
+ public virtual string? GroupRm { get; set; }
[CommandSwitch("--health-cmd")]
- public string? HealthCmd { get; set; }
+ public virtual string? HealthCmd { get; set; }
[CommandSwitch("--health-interval")]
- public string? HealthInterval { get; set; }
+ public virtual string? HealthInterval { get; set; }
[CommandSwitch("--health-retries")]
- public string? HealthRetries { get; set; }
+ public virtual string? HealthRetries { get; set; }
[CommandSwitch("--health-start-interval")]
- public string? HealthStartInterval { get; set; }
+ public virtual string? HealthStartInterval { get; set; }
[CommandSwitch("--health-start-period")]
- public string? HealthStartPeriod { get; set; }
+ public virtual string? HealthStartPeriod { get; set; }
[CommandSwitch("--health-timeout")]
- public string? HealthTimeout { get; set; }
+ public virtual string? HealthTimeout { get; set; }
[CommandSwitch("--host-add")]
- public string? HostAdd { get; set; }
+ public virtual string? HostAdd { get; set; }
[CommandSwitch("--host-rm")]
- public string? HostRm { get; set; }
+ public virtual string? HostRm { get; set; }
[CommandSwitch("--hostname")]
- public string? Hostname { get; set; }
+ public virtual string? Hostname { get; set; }
[CommandSwitch("--image")]
- public string? Image { get; set; }
+ public virtual string? Image { get; set; }
[CommandSwitch("--init")]
- public string? Init { get; set; }
+ public virtual string? Init { get; set; }
[BooleanCommandSwitch("--isolation")]
- public bool? Isolation { get; set; }
+ public virtual bool? Isolation { get; set; }
[CommandSwitch("--label-add")]
- public string? LabelAdd { get; set; }
+ public virtual string? LabelAdd { get; set; }
[CommandSwitch("--label-rm")]
- public string? LabelRm { get; set; }
+ public virtual string? LabelRm { get; set; }
[CommandSwitch("--limit-cpu")]
- public string? LimitCpu { get; set; }
+ public virtual string? LimitCpu { get; set; }
[CommandSwitch("--limit-memory")]
- public string? LimitMemory { get; set; }
+ public virtual string? LimitMemory { get; set; }
[CommandSwitch("--limit-pids")]
- public string? LimitPids { get; set; }
+ public virtual string? LimitPids { get; set; }
[CommandSwitch("--log-driver")]
- public string? LogDriver { get; set; }
+ public virtual string? LogDriver { get; set; }
[CommandSwitch("--log-opt")]
- public string? LogOpt { get; set; }
+ public virtual string? LogOpt { get; set; }
[CommandSwitch("--max-concurrent")]
- public string? MaxConcurrent { get; set; }
+ public virtual string? MaxConcurrent { get; set; }
[CommandSwitch("--mount-add")]
- public string? MountAdd { get; set; }
+ public virtual string? MountAdd { get; set; }
[CommandSwitch("--mount-rm")]
- public string? MountRm { get; set; }
+ public virtual string? MountRm { get; set; }
[CommandSwitch("--network-add")]
- public string? NetworkAdd { get; set; }
+ public virtual string? NetworkAdd { get; set; }
[CommandSwitch("--network-rm")]
- public string? NetworkRm { get; set; }
+ public virtual string? NetworkRm { get; set; }
[BooleanCommandSwitch("--no-healthcheck")]
- public bool? NoHealthcheck { get; set; }
+ public virtual bool? NoHealthcheck { get; set; }
[CommandSwitch("--no-resolve-image")]
- public string? NoResolveImage { get; set; }
+ public virtual string? NoResolveImage { get; set; }
[CommandSwitch("--placement-pref-add")]
- public string? PlacementPrefAdd { get; set; }
+ public virtual string? PlacementPrefAdd { get; set; }
[CommandSwitch("--placement-pref-rm")]
- public string? PlacementPrefRm { get; set; }
+ public virtual string? PlacementPrefRm { get; set; }
[CommandSwitch("--publish-add")]
- public string? PublishAdd { get; set; }
+ public virtual string? PublishAdd { get; set; }
[CommandSwitch("--publish-rm")]
- public string? PublishRm { get; set; }
+ public virtual string? PublishRm { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[BooleanCommandSwitch("--read-only")]
- public bool? ReadOnly { get; set; }
+ public virtual bool? ReadOnly { get; set; }
[CommandSwitch("--replicas")]
- public string? Replicas { get; set; }
+ public virtual string? Replicas { get; set; }
[CommandSwitch("--replicas-max-per-node")]
- public string? ReplicasMaxPerNode { get; set; }
+ public virtual string? ReplicasMaxPerNode { get; set; }
[CommandSwitch("--reserve-cpu")]
- public string? ReserveCpu { get; set; }
+ public virtual string? ReserveCpu { get; set; }
[CommandSwitch("--reserve-memory")]
- public string? ReserveMemory { get; set; }
+ public virtual string? ReserveMemory { get; set; }
[CommandSwitch("--restart-condition")]
- public string? RestartCondition { get; set; }
+ public virtual string? RestartCondition { get; set; }
[CommandSwitch("--restart-delay")]
- public string? RestartDelay { get; set; }
+ public virtual string? RestartDelay { get; set; }
[CommandSwitch("--restart-max-attempts")]
- public string? RestartMaxAttempts { get; set; }
+ public virtual string? RestartMaxAttempts { get; set; }
[CommandSwitch("--restart-window")]
- public string? RestartWindow { get; set; }
+ public virtual string? RestartWindow { get; set; }
[CommandSwitch("--rollback")]
- public string? Rollback { get; set; }
+ public virtual string? Rollback { get; set; }
[CommandSwitch("--rollback-delay")]
- public string? RollbackDelay { get; set; }
+ public virtual string? RollbackDelay { get; set; }
[CommandSwitch("--rollback-failure-action")]
- public string? RollbackFailureAction { get; set; }
+ public virtual string? RollbackFailureAction { get; set; }
[CommandSwitch("--rollback-max-failure-ratio")]
- public string? RollbackMaxFailureRatio { get; set; }
+ public virtual string? RollbackMaxFailureRatio { get; set; }
[CommandSwitch("--rollback-monitor")]
- public string? RollbackMonitor { get; set; }
+ public virtual string? RollbackMonitor { get; set; }
[CommandSwitch("--rollback-order")]
- public string? RollbackOrder { get; set; }
+ public virtual string? RollbackOrder { get; set; }
[CommandSwitch("--rollback-parallelism")]
- public string? RollbackParallelism { get; set; }
+ public virtual string? RollbackParallelism { get; set; }
[CommandSwitch("--secret-add")]
- public string? SecretAdd { get; set; }
+ public virtual string? SecretAdd { get; set; }
[CommandSwitch("--secret-rm")]
- public string? SecretRm { get; set; }
+ public virtual string? SecretRm { get; set; }
[CommandSwitch("--stop-grace-period")]
- public string? StopGracePeriod { get; set; }
+ public virtual string? StopGracePeriod { get; set; }
[CommandSwitch("--stop-signal")]
- public string? StopSignal { get; set; }
+ public virtual string? StopSignal { get; set; }
[CommandSwitch("--sysctl-add")]
- public string? SysctlAdd { get; set; }
+ public virtual string? SysctlAdd { get; set; }
[CommandSwitch("--sysctl-rm")]
- public string? SysctlRm { get; set; }
+ public virtual string? SysctlRm { get; set; }
[CommandSwitch("--tty")]
- public string? Tty { get; set; }
+ public virtual string? Tty { get; set; }
[CommandSwitch("--ulimit-add")]
- public string? UlimitAdd { get; set; }
+ public virtual string? UlimitAdd { get; set; }
[CommandSwitch("--ulimit-rm")]
- public string? UlimitRm { get; set; }
+ public virtual string? UlimitRm { get; set; }
[CommandSwitch("--update-delay")]
- public string? UpdateDelay { get; set; }
+ public virtual string? UpdateDelay { get; set; }
[CommandSwitch("--update-failure-action")]
- public string? UpdateFailureAction { get; set; }
+ public virtual string? UpdateFailureAction { get; set; }
[CommandSwitch("--update-max-failure-ratio")]
- public string? UpdateMaxFailureRatio { get; set; }
+ public virtual string? UpdateMaxFailureRatio { get; set; }
[CommandSwitch("--update-monitor")]
- public string? UpdateMonitor { get; set; }
+ public virtual string? UpdateMonitor { get; set; }
[CommandSwitch("--update-order")]
- public string? UpdateOrder { get; set; }
+ public virtual string? UpdateOrder { get; set; }
[CommandSwitch("--update-parallelism")]
- public string? UpdateParallelism { get; set; }
+ public virtual string? UpdateParallelism { get; set; }
[CommandSwitch("--user")]
- public string? User { get; set; }
+ public virtual string? User { get; set; }
[CommandSwitch("--with-registry-auth")]
- public string? WithRegistryAuth { get; set; }
+ public virtual string? WithRegistryAuth { get; set; }
[CommandSwitch("--workdir")]
- public string? Workdir { get; set; }
+ public virtual string? Workdir { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerStackConfigOptions.cs b/src/ModularPipelines.Docker/Options/DockerStackConfigOptions.cs
index de508617c1..78caebc09f 100644
--- a/src/ModularPipelines.Docker/Options/DockerStackConfigOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerStackConfigOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerStackConfigOptions : DockerOptions
{
[CommandSwitch("--compose-file")]
- public string? ComposeFile { get; set; }
+ public virtual string? ComposeFile { get; set; }
[CommandSwitch("--skip-interpolation")]
- public string? SkipInterpolation { get; set; }
+ public virtual string? SkipInterpolation { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerStackDeployOptions.cs b/src/ModularPipelines.Docker/Options/DockerStackDeployOptions.cs
index 8e3f3d21b6..d3644dde54 100644
--- a/src/ModularPipelines.Docker/Options/DockerStackDeployOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerStackDeployOptions.cs
@@ -19,14 +19,14 @@ string stack
public string? Stack { get; set; }
[CommandSwitch("--compose-file")]
- public string? ComposeFile { get; set; }
+ public virtual string? ComposeFile { get; set; }
[CommandSwitch("--prune")]
- public string? Prune { get; set; }
+ public virtual string? Prune { get; set; }
[CommandSwitch("--resolve-image")]
- public string? ResolveImage { get; set; }
+ public virtual string? ResolveImage { get; set; }
[CommandSwitch("--with-registry-auth")]
- public string? WithRegistryAuth { get; set; }
+ public virtual string? WithRegistryAuth { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerStackLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerStackLsOptions.cs
index 110146f84a..92f6da1163 100644
--- a/src/ModularPipelines.Docker/Options/DockerStackLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerStackLsOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Docker.Options;
public record DockerStackLsOptions : DockerOptions
{
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerStackOptions.cs b/src/ModularPipelines.Docker/Options/DockerStackOptions.cs
index dd0696bc08..32fa7d30f4 100644
--- a/src/ModularPipelines.Docker/Options/DockerStackOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerStackOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Docker.Options;
public record DockerStackOptions : DockerOptions
{
[CommandSwitch("--orchestrator")]
- public string? Orchestrator { get; set; }
+ public virtual string? Orchestrator { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerStackPsOptions.cs b/src/ModularPipelines.Docker/Options/DockerStackPsOptions.cs
index de6ce08999..41619909a9 100644
--- a/src/ModularPipelines.Docker/Options/DockerStackPsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerStackPsOptions.cs
@@ -19,17 +19,17 @@ string stack
public string? Stack { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--no-resolve")]
- public bool? NoResolve { get; set; }
+ public virtual bool? NoResolve { get; set; }
[BooleanCommandSwitch("--no-trunc")]
- public bool? NoTrunc { get; set; }
+ public virtual bool? NoTrunc { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerStackServicesOptions.cs b/src/ModularPipelines.Docker/Options/DockerStackServicesOptions.cs
index a89e8e7e15..6c2332d1f5 100644
--- a/src/ModularPipelines.Docker/Options/DockerStackServicesOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerStackServicesOptions.cs
@@ -19,11 +19,11 @@ string stack
public string? Stack { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSwarmCaOptions.cs b/src/ModularPipelines.Docker/Options/DockerSwarmCaOptions.cs
index 26b0276621..3d65b16f30 100644
--- a/src/ModularPipelines.Docker/Options/DockerSwarmCaOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSwarmCaOptions.cs
@@ -8,23 +8,23 @@ namespace ModularPipelines.Docker.Options;
public record DockerSwarmCaOptions : DockerOptions
{
[CommandSwitch("--ca-cert")]
- public string? CaCert { get; set; }
+ public virtual string? CaCert { get; set; }
[CommandSwitch("--ca-key")]
- public string? CaKey { get; set; }
+ public virtual string? CaKey { get; set; }
[CommandSwitch("--cert-expiry")]
- public string? CertExpiry { get; set; }
+ public virtual string? CertExpiry { get; set; }
[BooleanCommandSwitch("--detach")]
- public bool? Detach { get; set; }
+ public virtual bool? Detach { get; set; }
[CommandSwitch("--external-ca")]
- public string? ExternalCa { get; set; }
+ public virtual string? ExternalCa { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[CommandSwitch("--rotate")]
- public string? Rotate { get; set; }
+ public virtual string? Rotate { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSwarmInitOptions.cs b/src/ModularPipelines.Docker/Options/DockerSwarmInitOptions.cs
index d3986a2c95..0c9c3de9a1 100644
--- a/src/ModularPipelines.Docker/Options/DockerSwarmInitOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSwarmInitOptions.cs
@@ -8,47 +8,47 @@ namespace ModularPipelines.Docker.Options;
public record DockerSwarmInitOptions : DockerOptions
{
[CommandSwitch("--advertise-addr")]
- public string? AdvertiseAddr { get; set; }
+ public virtual string? AdvertiseAddr { get; set; }
[CommandSwitch("--autolock")]
- public string? Autolock { get; set; }
+ public virtual string? Autolock { get; set; }
[CommandSwitch("--availability")]
- public string? Availability { get; set; }
+ public virtual string? Availability { get; set; }
[CommandSwitch("--cert-expiry")]
- public string? CertExpiry { get; set; }
+ public virtual string? CertExpiry { get; set; }
[CommandSwitch("--data-path-addr")]
- public string? DataPathAddr { get; set; }
+ public virtual string? DataPathAddr { get; set; }
[CommandSwitch("--data-path-port")]
- public string? DataPathPort { get; set; }
+ public virtual string? DataPathPort { get; set; }
[CommandSwitch("--default-addr-pool")]
- public string? DefaultAddrPool { get; set; }
+ public virtual string? DefaultAddrPool { get; set; }
[CommandSwitch("--default-addr-pool-mask-length")]
- public int? DefaultAddrPoolMaskLength { get; set; }
+ public virtual int? DefaultAddrPoolMaskLength { get; set; }
[CommandSwitch("--dispatcher-heartbeat")]
- public string? DispatcherHeartbeat { get; set; }
+ public virtual string? DispatcherHeartbeat { get; set; }
[CommandSwitch("--external-ca")]
- public string? ExternalCa { get; set; }
+ public virtual string? ExternalCa { get; set; }
[CommandSwitch("--force-new-cluster")]
- public string? ForceNewCluster { get; set; }
+ public virtual string? ForceNewCluster { get; set; }
[CommandSwitch("--listen-addr")]
- public string? ListenAddr { get; set; }
+ public virtual string? ListenAddr { get; set; }
[CommandSwitch("--max-snapshots")]
- public string? MaxSnapshots { get; set; }
+ public virtual string? MaxSnapshots { get; set; }
[CommandSwitch("--snapshot-interval")]
- public int? SnapshotInterval { get; set; }
+ public virtual int? SnapshotInterval { get; set; }
[CommandSwitch("--task-history-limit")]
- public int? TaskHistoryLimit { get; set; }
+ public virtual int? TaskHistoryLimit { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSwarmJoinOptions.cs b/src/ModularPipelines.Docker/Options/DockerSwarmJoinOptions.cs
index b02aee178a..2ea14ee1de 100644
--- a/src/ModularPipelines.Docker/Options/DockerSwarmJoinOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSwarmJoinOptions.cs
@@ -19,17 +19,17 @@ string host
public string? JoinHost { get; set; }
[CommandSwitch("--advertise-addr")]
- public string? AdvertiseAddr { get; set; }
+ public virtual string? AdvertiseAddr { get; set; }
[CommandSwitch("--availability")]
- public string? Availability { get; set; }
+ public virtual string? Availability { get; set; }
[CommandSwitch("--data-path-addr")]
- public string? DataPathAddr { get; set; }
+ public virtual string? DataPathAddr { get; set; }
[CommandSwitch("--listen-addr")]
- public string? ListenAddr { get; set; }
+ public virtual string? ListenAddr { get; set; }
[CommandSwitch("--token")]
- public string? Token { get; set; }
+ public virtual string? Token { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSwarmJoinTokenOptions.cs b/src/ModularPipelines.Docker/Options/DockerSwarmJoinTokenOptions.cs
index 52c1543283..eae7920415 100644
--- a/src/ModularPipelines.Docker/Options/DockerSwarmJoinTokenOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSwarmJoinTokenOptions.cs
@@ -19,8 +19,8 @@ string workerOrManager
public string? WorkerOrManager { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[CommandSwitch("--rotate")]
- public string? Rotate { get; set; }
+ public virtual string? Rotate { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSwarmLeaveOptions.cs b/src/ModularPipelines.Docker/Options/DockerSwarmLeaveOptions.cs
index cfd134ddf0..14e88f21fa 100644
--- a/src/ModularPipelines.Docker/Options/DockerSwarmLeaveOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSwarmLeaveOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Docker.Options;
public record DockerSwarmLeaveOptions : DockerOptions
{
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSwarmUnlockKeyOptions.cs b/src/ModularPipelines.Docker/Options/DockerSwarmUnlockKeyOptions.cs
index f800da4135..7f6da75476 100644
--- a/src/ModularPipelines.Docker/Options/DockerSwarmUnlockKeyOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSwarmUnlockKeyOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerSwarmUnlockKeyOptions : DockerOptions
{
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
[CommandSwitch("--rotate")]
- public string? Rotate { get; set; }
+ public virtual string? Rotate { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSwarmUpdateOptions.cs b/src/ModularPipelines.Docker/Options/DockerSwarmUpdateOptions.cs
index 3486776afc..d233c629c6 100644
--- a/src/ModularPipelines.Docker/Options/DockerSwarmUpdateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSwarmUpdateOptions.cs
@@ -8,23 +8,23 @@ namespace ModularPipelines.Docker.Options;
public record DockerSwarmUpdateOptions : DockerOptions
{
[CommandSwitch("--autolock")]
- public string? Autolock { get; set; }
+ public virtual string? Autolock { get; set; }
[CommandSwitch("--cert-expiry")]
- public string? CertExpiry { get; set; }
+ public virtual string? CertExpiry { get; set; }
[CommandSwitch("--dispatcher-heartbeat")]
- public string? DispatcherHeartbeat { get; set; }
+ public virtual string? DispatcherHeartbeat { get; set; }
[CommandSwitch("--external-ca")]
- public string? ExternalCa { get; set; }
+ public virtual string? ExternalCa { get; set; }
[CommandSwitch("--max-snapshots")]
- public string? MaxSnapshots { get; set; }
+ public virtual string? MaxSnapshots { get; set; }
[CommandSwitch("--snapshot-interval")]
- public int? SnapshotInterval { get; set; }
+ public virtual int? SnapshotInterval { get; set; }
[CommandSwitch("--task-history-limit")]
- public int? TaskHistoryLimit { get; set; }
+ public virtual int? TaskHistoryLimit { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSystemDfOptions.cs b/src/ModularPipelines.Docker/Options/DockerSystemDfOptions.cs
index 3452fa7a4f..9c1efde6fd 100644
--- a/src/ModularPipelines.Docker/Options/DockerSystemDfOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSystemDfOptions.cs
@@ -8,8 +8,8 @@ namespace ModularPipelines.Docker.Options;
public record DockerSystemDfOptions : DockerOptions
{
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--verbose")]
- public string? Verbose { get; set; }
+ public virtual string? Verbose { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSystemEventsOptions.cs b/src/ModularPipelines.Docker/Options/DockerSystemEventsOptions.cs
index eae7f51da6..5690091fdc 100644
--- a/src/ModularPipelines.Docker/Options/DockerSystemEventsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSystemEventsOptions.cs
@@ -8,14 +8,14 @@ namespace ModularPipelines.Docker.Options;
public record DockerSystemEventsOptions : DockerOptions
{
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[CommandSwitch("--since")]
- public string? Since { get; set; }
+ public virtual string? Since { get; set; }
[CommandSwitch("--until")]
- public string? Until { get; set; }
+ public virtual string? Until { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSystemInfoOptions.cs b/src/ModularPipelines.Docker/Options/DockerSystemInfoOptions.cs
index 722a22247d..abc8fa1116 100644
--- a/src/ModularPipelines.Docker/Options/DockerSystemInfoOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSystemInfoOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Docker.Options;
public record DockerSystemInfoOptions : DockerOptions
{
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerSystemPruneOptions.cs b/src/ModularPipelines.Docker/Options/DockerSystemPruneOptions.cs
index d52daf88c5..8d9a1cec94 100644
--- a/src/ModularPipelines.Docker/Options/DockerSystemPruneOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerSystemPruneOptions.cs
@@ -8,14 +8,14 @@ namespace ModularPipelines.Docker.Options;
public record DockerSystemPruneOptions : DockerOptions
{
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
[CommandSwitch("--volumes")]
- public string? Volumes { get; set; }
+ public virtual string? Volumes { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerTrustInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerTrustInspectOptions.cs
index 693c91f934..0620cf30d9 100644
--- a/src/ModularPipelines.Docker/Options/DockerTrustInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerTrustInspectOptions.cs
@@ -11,5 +11,5 @@ public record DockerTrustInspectOptions : DockerOptions
public IEnumerable? Image { get; set; }
[CommandSwitch("--pretty")]
- public string? Pretty { get; set; }
+ public virtual string? Pretty { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerTrustKeyGenerateOptions.cs b/src/ModularPipelines.Docker/Options/DockerTrustKeyGenerateOptions.cs
index b402949885..8c5e7c398f 100644
--- a/src/ModularPipelines.Docker/Options/DockerTrustKeyGenerateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerTrustKeyGenerateOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Docker.Options;
public record DockerTrustKeyGenerateOptions : DockerOptions
{
[CommandSwitch("--dir")]
- public string? Dir { get; set; }
+ public virtual string? Dir { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerTrustKeyLoadOptions.cs b/src/ModularPipelines.Docker/Options/DockerTrustKeyLoadOptions.cs
index 6468df137e..f3ca1a6a8d 100644
--- a/src/ModularPipelines.Docker/Options/DockerTrustKeyLoadOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerTrustKeyLoadOptions.cs
@@ -19,5 +19,5 @@ string keyfile
public string? Keyfile { get; set; }
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerTrustRevokeOptions.cs b/src/ModularPipelines.Docker/Options/DockerTrustRevokeOptions.cs
index 7d56c8b668..b95b627ffb 100644
--- a/src/ModularPipelines.Docker/Options/DockerTrustRevokeOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerTrustRevokeOptions.cs
@@ -19,5 +19,5 @@ string image
public string? Image { get; set; }
[BooleanCommandSwitch("--yes")]
- public bool? Yes { get; set; }
+ public virtual bool? Yes { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerTrustSignOptions.cs b/src/ModularPipelines.Docker/Options/DockerTrustSignOptions.cs
index c6e2acae73..8f6b261671 100644
--- a/src/ModularPipelines.Docker/Options/DockerTrustSignOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerTrustSignOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Docker.Options;
public record DockerTrustSignOptions : DockerOptions
{
[CommandSwitch("--local")]
- public string? Local { get; set; }
+ public virtual string? Local { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerTrustSignerAddOptions.cs b/src/ModularPipelines.Docker/Options/DockerTrustSignerAddOptions.cs
index 65158e09cf..d333ec4560 100644
--- a/src/ModularPipelines.Docker/Options/DockerTrustSignerAddOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerTrustSignerAddOptions.cs
@@ -11,5 +11,5 @@ public record DockerTrustSignerAddOptions : DockerOptions
public IEnumerable? Repository { get; set; }
[CommandSwitch("--key")]
- public string? Key { get; set; }
+ public virtual string? Key { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerTrustSignerRemoveOptions.cs b/src/ModularPipelines.Docker/Options/DockerTrustSignerRemoveOptions.cs
index c4ccc16ae8..f8d2aca2db 100644
--- a/src/ModularPipelines.Docker/Options/DockerTrustSignerRemoveOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerTrustSignerRemoveOptions.cs
@@ -25,5 +25,5 @@ IEnumerable repository
public IEnumerable? Repository { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerVersionOptions.cs b/src/ModularPipelines.Docker/Options/DockerVersionOptions.cs
index 3131cd86e8..0121a28f66 100644
--- a/src/ModularPipelines.Docker/Options/DockerVersionOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerVersionOptions.cs
@@ -8,5 +8,5 @@ namespace ModularPipelines.Docker.Options;
public record DockerVersionOptions : DockerOptions
{
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerVolumeCreateOptions.cs b/src/ModularPipelines.Docker/Options/DockerVolumeCreateOptions.cs
index c73f9d2eb7..74b5914e42 100644
--- a/src/ModularPipelines.Docker/Options/DockerVolumeCreateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerVolumeCreateOptions.cs
@@ -11,44 +11,44 @@ public record DockerVolumeCreateOptions : DockerOptions
public string? Volume { get; set; }
[CommandSwitch("--availability")]
- public string? Availability { get; set; }
+ public virtual string? Availability { get; set; }
[CommandSwitch("--driver")]
- public string? Driver { get; set; }
+ public virtual string? Driver { get; set; }
[CommandSwitch("--group")]
- public string? Group { get; set; }
+ public virtual string? Group { get; set; }
[CommandSwitch("--label")]
- public string? Label { get; set; }
+ public virtual string? Label { get; set; }
[CommandSwitch("--limit-bytes")]
- public string? LimitBytes { get; set; }
+ public virtual string? LimitBytes { get; set; }
[CommandSwitch("--name")]
- public string? Name { get; set; }
+ public virtual string? Name { get; set; }
[CommandSwitch("--opt")]
- public string? Opt { get; set; }
+ public virtual string? Opt { get; set; }
[CommandSwitch("--required-bytes")]
- public string? RequiredBytes { get; set; }
+ public virtual string? RequiredBytes { get; set; }
[CommandSwitch("--scope")]
- public string? Scope { get; set; }
+ public virtual string? Scope { get; set; }
[CommandSwitch("--secret")]
- public string? Secret { get; set; }
+ public virtual string? Secret { get; set; }
[CommandSwitch("--sharing")]
- public string? Sharing { get; set; }
+ public virtual string? Sharing { get; set; }
[CommandSwitch("--topology-preferred")]
- public string? TopologyPreferred { get; set; }
+ public virtual string? TopologyPreferred { get; set; }
[CommandSwitch("--topology-required")]
- public string? TopologyRequired { get; set; }
+ public virtual string? TopologyRequired { get; set; }
[CommandSwitch("--type")]
- public string? Type { get; set; }
+ public virtual string? Type { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerVolumeInspectOptions.cs b/src/ModularPipelines.Docker/Options/DockerVolumeInspectOptions.cs
index 04ff9ee779..c402e9d77b 100644
--- a/src/ModularPipelines.Docker/Options/DockerVolumeInspectOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerVolumeInspectOptions.cs
@@ -19,5 +19,5 @@ IEnumerable volume
public IEnumerable? Volume { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerVolumeLsOptions.cs b/src/ModularPipelines.Docker/Options/DockerVolumeLsOptions.cs
index bb4800b632..5c8f49e4c1 100644
--- a/src/ModularPipelines.Docker/Options/DockerVolumeLsOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerVolumeLsOptions.cs
@@ -8,14 +8,14 @@ namespace ModularPipelines.Docker.Options;
public record DockerVolumeLsOptions : DockerOptions
{
[CommandSwitch("--cluster")]
- public string? Cluster { get; set; }
+ public virtual string? Cluster { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[CommandSwitch("--format")]
- public string? Format { get; set; }
+ public virtual string? Format { get; set; }
[BooleanCommandSwitch("--quiet")]
- public bool? Quiet { get; set; }
+ public virtual bool? Quiet { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerVolumePruneOptions.cs b/src/ModularPipelines.Docker/Options/DockerVolumePruneOptions.cs
index ee6cfe0d46..b45967aa01 100644
--- a/src/ModularPipelines.Docker/Options/DockerVolumePruneOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerVolumePruneOptions.cs
@@ -8,11 +8,11 @@ namespace ModularPipelines.Docker.Options;
public record DockerVolumePruneOptions : DockerOptions
{
[BooleanCommandSwitch("--all")]
- public bool? All { get; set; }
+ public virtual bool? All { get; set; }
[CommandSwitch("--filter")]
- public string? Filter { get; set; }
+ public virtual string? Filter { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerVolumeRmOptions.cs b/src/ModularPipelines.Docker/Options/DockerVolumeRmOptions.cs
index 2b55507bc1..539a2aa6a3 100644
--- a/src/ModularPipelines.Docker/Options/DockerVolumeRmOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerVolumeRmOptions.cs
@@ -19,5 +19,5 @@ IEnumerable volume
public IEnumerable? Volume { get; set; }
[BooleanCommandSwitch("--force")]
- public bool? Force { get; set; }
+ public virtual bool? Force { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Options/DockerVolumeUpdateOptions.cs b/src/ModularPipelines.Docker/Options/DockerVolumeUpdateOptions.cs
index d453af9bbf..05bdbe2f83 100644
--- a/src/ModularPipelines.Docker/Options/DockerVolumeUpdateOptions.cs
+++ b/src/ModularPipelines.Docker/Options/DockerVolumeUpdateOptions.cs
@@ -11,5 +11,5 @@ public record DockerVolumeUpdateOptions : DockerOptions
public string? Volume { get; set; }
[CommandSwitch("--availability")]
- public string? Availability { get; set; }
+ public virtual string? Availability { get; set; }
}
diff --git a/src/ModularPipelines.Docker/Services/Docker.cs b/src/ModularPipelines.Docker/Services/Docker.cs
index 90cce8f037..13d146f27f 100644
--- a/src/ModularPipelines.Docker/Services/Docker.cs
+++ b/src/ModularPipelines.Docker/Services/Docker.cs
@@ -97,127 +97,127 @@ ICommand internalCommand
public DockerConfig DockerConfig { get; }
- public async Task Builder(DockerBuilderOptions? options = default, CancellationToken token = default)
+ public virtual async Task Builder(DockerBuilderOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerBuilderOptions(), token);
}
- public async Task Buildx(DockerBuildxOptions? options = default, CancellationToken token = default)
+ public virtual async Task Buildx(DockerBuildxOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerBuildxOptions(), token);
}
- public async Task Checkpoint(DockerCheckpointOptions? options = default, CancellationToken token = default)
+ public virtual async Task Checkpoint(DockerCheckpointOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerCheckpointOptions(), token);
}
- public async Task Compose(DockerComposeOptions? options = default, CancellationToken token = default)
+ public virtual async Task Compose(DockerComposeOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerComposeOptions(), token);
}
- public async Task Config(DockerConfigOptions? options = default, CancellationToken token = default)
+ public virtual async Task Config(DockerConfigOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerConfigOptions(), token);
}
- public async Task Container(DockerContainerOptions? options = default, CancellationToken token = default)
+ public virtual async Task Container(DockerContainerOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerContainerOptions(), token);
}
- public async Task Context(DockerContextOptions? options = default, CancellationToken token = default)
+ public virtual async Task Context(DockerContextOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerContextOptions(), token);
}
- public async Task Image(DockerImageOptions? options = default, CancellationToken token = default)
+ public virtual async Task Image(DockerImageOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerImageOptions(), token);
}
- public async Task Init(DockerInitOptions? options = default, CancellationToken token = default)
+ public virtual async Task Init(DockerInitOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerInitOptions(), token);
}
- public async Task Inspect(DockerInspectOptions options, CancellationToken token = default)
+ public virtual async Task Inspect(DockerInspectOptions options, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options, token);
}
- public async Task Login(DockerLoginOptions? options = default, CancellationToken token = default)
+ public virtual async Task Login(DockerLoginOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerLoginOptions(), token);
}
- public async Task Logout(DockerLogoutOptions? options = default, CancellationToken token = default)
+ public virtual async Task Logout(DockerLogoutOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerLogoutOptions(), token);
}
- public async Task Manifest(DockerManifestOptions? options = default, CancellationToken token = default)
+ public virtual async Task Manifest(DockerManifestOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerManifestOptions(), token);
}
- public async Task Network(DockerNetworkOptions? options = default, CancellationToken token = default)
+ public virtual async Task Network(DockerNetworkOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerNetworkOptions(), token);
}
- public async Task Node(DockerNodeOptions? options = default, CancellationToken token = default)
+ public virtual async Task Node(DockerNodeOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerNodeOptions(), token);
}
- public async Task Plugin(DockerPluginOptions? options = default, CancellationToken token = default)
+ public virtual async Task Plugin(DockerPluginOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerPluginOptions(), token);
}
- public async Task Scout(DockerScoutOptions? options = default, CancellationToken token = default)
+ public virtual async Task Scout(DockerScoutOptions? options = default, CancellationToken token = default)
{
return await _command.ExecuteCommandLineTool(options ?? new DockerScoutOptions(), token);
}
- public async Task