diff --git a/Directory.Packages.props b/Directory.Packages.props index 1e56346..7b8e8e8 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -9,9 +9,9 @@ - - - + + + diff --git a/src/Confix.Tool/src/Confix.Nuke/Confix.Tool.Generated.cs b/src/Confix.Tool/src/Confix.Nuke/Confix.Tool.Generated.cs index c05ed1c..86b0f8f 100644 --- a/src/Confix.Tool/src/Confix.Nuke/Confix.Tool.Generated.cs +++ b/src/Confix.Tool/src/Confix.Nuke/Confix.Tool.Generated.cs @@ -16,1673 +16,4904 @@ namespace Confix.Nuke; -/// For more details, visit the official website. +/// +/// For more details, visit the official website. +/// [PublicAPI] [ExcludeFromCodeCoverage] -public partial class ConfixTasks : ToolTasks +public partial class ConfixTasks { - public static string ConfixPath => new ConfixTasks().GetToolPath(); - public const string PackageExecutable = "Confix.dll"; - /// For more details, visit the official website. - public static IReadOnlyCollection Confix(ArgumentStringHandler arguments, string workingDirectory = null, IReadOnlyDictionary environmentVariables = null, int? timeout = null, bool? logOutput = null, bool? logInvocation = null, Action logger = null, Func exitHandler = null) => new ConfixTasks().Run(arguments, workingDirectory, environmentVariables, timeout, logOutput, logInvocation, logger, exitHandler); - /// builds a component. Runs all configured component inputsFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IReadOnlyCollection ConfixComponentBuild(ConfixComponentBuildSettings options = null) => new ConfixTasks().Run(options); - /// builds a component. Runs all configured component inputsFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IReadOnlyCollection ConfixComponentBuild(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixComponentBuildSettings())); - /// builds a component. Runs all configured component inputsFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IEnumerable<(ConfixComponentBuildSettings Settings, IReadOnlyCollection Output)> ConfixComponentBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixComponentBuild, degreeOfParallelism, completeOnFailure); - /// Initializes a component and creates a component fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<name> via --verbosity via - public static IReadOnlyCollection ConfixComponentInit(ConfixComponentInitSettings options = null) => new ConfixTasks().Run(options); - /// Initializes a component and creates a component fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<name> via --verbosity via - public static IReadOnlyCollection ConfixComponentInit(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixComponentInitSettings())); - /// Initializes a component and creates a component fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<name> via --verbosity via - public static IEnumerable<(ConfixComponentInitSettings Settings, IReadOnlyCollection Output)> ConfixComponentInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixComponentInit, degreeOfParallelism, completeOnFailure); - /// Lists the component of the projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --format via --only-components via --output-file via --verbosity via - public static IReadOnlyCollection ConfixComponentList(ConfixComponentListSettings options = null) => new ConfixTasks().Run(options); - /// Lists the component of the projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --format via --only-components via --output-file via --verbosity via - public static IReadOnlyCollection ConfixComponentList(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixComponentListSettings())); - /// Lists the component of the projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --format via --only-components via --output-file via --verbosity via - public static IEnumerable<(ConfixComponentListSettings Settings, IReadOnlyCollection Output)> ConfixComponentList(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixComponentList, degreeOfParallelism, completeOnFailure); - /// Adds a component to the projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<name> via --output-file via --verbosity via --version via - public static IReadOnlyCollection ConfixComponentAdd(ConfixComponentAddSettings options = null) => new ConfixTasks().Run(options); - /// Adds a component to the projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<name> via --output-file via --verbosity via --version via - public static IReadOnlyCollection ConfixComponentAdd(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixComponentAddSettings())); - /// Adds a component to the projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<name> via --output-file via --verbosity via --version via - public static IEnumerable<(ConfixComponentAddSettings Settings, IReadOnlyCollection Output)> ConfixComponentAdd(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixComponentAdd, degreeOfParallelism, completeOnFailure); - /// Reloads the schema of a projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --only-components via --output-file via --verbosity via - public static IReadOnlyCollection ConfixProjectRestore(ConfixProjectRestoreSettings options = null) => new ConfixTasks().Run(options); - /// Reloads the schema of a projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --only-components via --output-file via --verbosity via - public static IReadOnlyCollection ConfixProjectRestore(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixProjectRestoreSettings())); - /// Reloads the schema of a projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --only-components via --output-file via --verbosity via - public static IEnumerable<(ConfixProjectRestoreSettings Settings, IReadOnlyCollection Output)> ConfixProjectRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixProjectRestore, degreeOfParallelism, completeOnFailure); - /// Replaces all variables in the project files with their valuesFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--encrypt via --environment via --no-restore via --only-components via --output-file via --verbosity via - public static IReadOnlyCollection ConfixProjectBuild(ConfixProjectBuildSettings options = null) => new ConfixTasks().Run(options); - /// Replaces all variables in the project files with their valuesFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--encrypt via --environment via --no-restore via --only-components via --output-file via --verbosity via - public static IReadOnlyCollection ConfixProjectBuild(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixProjectBuildSettings())); - /// Replaces all variables in the project files with their valuesFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--encrypt via --environment via --no-restore via --only-components via --output-file via --verbosity via - public static IEnumerable<(ConfixProjectBuildSettings Settings, IReadOnlyCollection Output)> ConfixProjectBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixProjectBuild, degreeOfParallelism, completeOnFailure); - /// Initializes a project and creates a project fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--output-file via --verbosity via - public static IReadOnlyCollection ConfixProjectInit(ConfixProjectInitSettings options = null) => new ConfixTasks().Run(options); - /// Initializes a project and creates a project fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--output-file via --verbosity via - public static IReadOnlyCollection ConfixProjectInit(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixProjectInitSettings())); - /// Initializes a project and creates a project fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--output-file via --verbosity via - public static IEnumerable<(ConfixProjectInitSettings Settings, IReadOnlyCollection Output)> ConfixProjectInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixProjectInit, degreeOfParallelism, completeOnFailure); - /// Validates the configuration files of a projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --only-components via --output-file via --verbosity via - public static IReadOnlyCollection ConfixProjectValidate(ConfixProjectValidateSettings options = null) => new ConfixTasks().Run(options); - /// Validates the configuration files of a projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --only-components via --output-file via --verbosity via - public static IReadOnlyCollection ConfixProjectValidate(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixProjectValidateSettings())); - /// Validates the configuration files of a projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --only-components via --output-file via --verbosity via - public static IEnumerable<(ConfixProjectValidateSettings Settings, IReadOnlyCollection Output)> ConfixProjectValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixProjectValidate, degreeOfParallelism, completeOnFailure); - /// Generates a report for the projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --no-restore via --only-components via --output-file via --verbosity via - public static IReadOnlyCollection ConfixProjectReport(ConfixProjectReportSettings options = null) => new ConfixTasks().Run(options); - /// Generates a report for the projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --no-restore via --only-components via --output-file via --verbosity via - public static IReadOnlyCollection ConfixProjectReport(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixProjectReportSettings())); - /// Generates a report for the projectFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --no-restore via --only-components via --output-file via --verbosity via - public static IEnumerable<(ConfixProjectReportSettings Settings, IReadOnlyCollection Output)> ConfixProjectReport(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixProjectReport, degreeOfParallelism, completeOnFailure); - /// Reloads the schema of all the projects in the solutionFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IReadOnlyCollection ConfixSolutionRestore(ConfixSolutionRestoreSettings options = null) => new ConfixTasks().Run(options); - /// Reloads the schema of all the projects in the solutionFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IReadOnlyCollection ConfixSolutionRestore(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixSolutionRestoreSettings())); - /// Reloads the schema of all the projects in the solutionFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IEnumerable<(ConfixSolutionRestoreSettings Settings, IReadOnlyCollection Output)> ConfixSolutionRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixSolutionRestore, degreeOfParallelism, completeOnFailure); - /// Replaces all variables in the solution files with their valuesFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IReadOnlyCollection ConfixSolutionBuild(ConfixSolutionBuildSettings options = null) => new ConfixTasks().Run(options); - /// Replaces all variables in the solution files with their valuesFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IReadOnlyCollection ConfixSolutionBuild(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixSolutionBuildSettings())); - /// Replaces all variables in the solution files with their valuesFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IEnumerable<(ConfixSolutionBuildSettings Settings, IReadOnlyCollection Output)> ConfixSolutionBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixSolutionBuild, degreeOfParallelism, completeOnFailure); - /// Initializes a solution and creates a solution fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IReadOnlyCollection ConfixSolutionInit(ConfixSolutionInitSettings options = null) => new ConfixTasks().Run(options); - /// Initializes a solution and creates a solution fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IReadOnlyCollection ConfixSolutionInit(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixSolutionInitSettings())); - /// Initializes a solution and creates a solution fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IEnumerable<(ConfixSolutionInitSettings Settings, IReadOnlyCollection Output)> ConfixSolutionInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixSolutionInit, degreeOfParallelism, completeOnFailure); - /// Validates the schema of all the projects in the solutionFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IReadOnlyCollection ConfixSolutionValidate(ConfixSolutionValidateSettings options = null) => new ConfixTasks().Run(options); - /// Validates the schema of all the projects in the solutionFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IReadOnlyCollection ConfixSolutionValidate(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixSolutionValidateSettings())); - /// Validates the schema of all the projects in the solutionFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--verbosity via - public static IEnumerable<(ConfixSolutionValidateSettings Settings, IReadOnlyCollection Output)> ConfixSolutionValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixSolutionValidate, degreeOfParallelism, completeOnFailure); - /// resolves a variable by nameFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --format via --name via --verbosity via - public static IReadOnlyCollection ConfixVariableGet(ConfixVariableGetSettings options = null) => new ConfixTasks().Run(options); - /// resolves a variable by nameFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --format via --name via --verbosity via - public static IReadOnlyCollection ConfixVariableGet(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixVariableGetSettings())); - /// resolves a variable by nameFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --format via --name via --verbosity via - public static IEnumerable<(ConfixVariableGetSettings Settings, IReadOnlyCollection Output)> ConfixVariableGet(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixVariableGet, degreeOfParallelism, completeOnFailure); - /// sets a variable. Overrides existing value if any.For more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --name via --value via --verbosity via - public static IReadOnlyCollection ConfixVariableSet(ConfixVariableSetSettings options = null) => new ConfixTasks().Run(options); - /// sets a variable. Overrides existing value if any.For more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --name via --value via --verbosity via - public static IReadOnlyCollection ConfixVariableSet(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixVariableSetSettings())); - /// sets a variable. Overrides existing value if any.For more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --name via --value via --verbosity via - public static IEnumerable<(ConfixVariableSetSettings Settings, IReadOnlyCollection Output)> ConfixVariableSet(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixVariableSet, degreeOfParallelism, completeOnFailure); - /// list available variablesFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --provider via --verbosity via - public static IReadOnlyCollection ConfixVariableList(ConfixVariableListSettings options = null) => new ConfixTasks().Run(options); - /// list available variablesFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --provider via --verbosity via - public static IReadOnlyCollection ConfixVariableList(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixVariableListSettings())); - /// list available variablesFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --provider via --verbosity via - public static IEnumerable<(ConfixVariableListSettings Settings, IReadOnlyCollection Output)> ConfixVariableList(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixVariableList, degreeOfParallelism, completeOnFailure); - /// Copies a variable from one provider to another providerFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --from via --to via --to-environment via --verbosity via - public static IReadOnlyCollection ConfixVariableCopy(ConfixVariableCopySettings options = null) => new ConfixTasks().Run(options); - /// Copies a variable from one provider to another providerFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --from via --to via --to-environment via --verbosity via - public static IReadOnlyCollection ConfixVariableCopy(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixVariableCopySettings())); - /// Copies a variable from one provider to another providerFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --from via --to via --to-environment via --verbosity via - public static IEnumerable<(ConfixVariableCopySettings Settings, IReadOnlyCollection Output)> ConfixVariableCopy(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixVariableCopy, degreeOfParallelism, completeOnFailure); - /// For more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--encrypt via --environment via --output-file via --verbosity via - public static IReadOnlyCollection ConfixBuild(ConfixBuildSettings options = null) => new ConfixTasks().Run(options); - /// For more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--encrypt via --environment via --output-file via --verbosity via - public static IReadOnlyCollection ConfixBuild(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixBuildSettings())); - /// For more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--encrypt via --environment via --output-file via --verbosity via - public static IEnumerable<(ConfixBuildSettings Settings, IReadOnlyCollection Output)> ConfixBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixBuild, degreeOfParallelism, completeOnFailure); - /// For more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --verbosity via - public static IReadOnlyCollection ConfixRestore(ConfixRestoreSettings options = null) => new ConfixTasks().Run(options); - /// For more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --verbosity via - public static IReadOnlyCollection ConfixRestore(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixRestoreSettings())); - /// For more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --verbosity via - public static IEnumerable<(ConfixRestoreSettings Settings, IReadOnlyCollection Output)> ConfixRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixRestore, degreeOfParallelism, completeOnFailure); - /// Validates the schema of all the projectsFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --verbosity via - public static IReadOnlyCollection ConfixValidate(ConfixValidateSettings options = null) => new ConfixTasks().Run(options); - /// Validates the schema of all the projectsFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --verbosity via - public static IReadOnlyCollection ConfixValidate(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixValidateSettings())); - /// Validates the schema of all the projectsFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--environment via --verbosity via - public static IEnumerable<(ConfixValidateSettings Settings, IReadOnlyCollection Output)> ConfixValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixValidate, degreeOfParallelism, completeOnFailure); - /// Encrypts a file using the configured providerFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<inputFile> via <outFile> via --environment via --verbosity via - public static IReadOnlyCollection ConfixEncrypt(ConfixEncryptSettings options = null) => new ConfixTasks().Run(options); - /// Encrypts a file using the configured providerFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<inputFile> via <outFile> via --environment via --verbosity via - public static IReadOnlyCollection ConfixEncrypt(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixEncryptSettings())); - /// Encrypts a file using the configured providerFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<inputFile> via <outFile> via --environment via --verbosity via - public static IEnumerable<(ConfixEncryptSettings Settings, IReadOnlyCollection Output)> ConfixEncrypt(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixEncrypt, degreeOfParallelism, completeOnFailure); - /// Decrypts a file using the configured providerFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<inputFile> via <outFile> via --environment via --verbosity via - public static IReadOnlyCollection ConfixDecrypt(ConfixDecryptSettings options = null) => new ConfixTasks().Run(options); - /// Decrypts a file using the configured providerFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<inputFile> via <outFile> via --environment via --verbosity via - public static IReadOnlyCollection ConfixDecrypt(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixDecryptSettings())); - /// Decrypts a file using the configured providerFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<inputFile> via <outFile> via --environment via --verbosity via - public static IEnumerable<(ConfixDecryptSettings Settings, IReadOnlyCollection Output)> ConfixDecrypt(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixDecrypt, degreeOfParallelism, completeOnFailure); - /// Shows the configuration to a fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--format via --verbosity via - public static IReadOnlyCollection ConfixConfigShow(ConfixConfigShowSettings options = null) => new ConfixTasks().Run(options); - /// Shows the configuration to a fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--format via --verbosity via - public static IReadOnlyCollection ConfixConfigShow(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixConfigShowSettings())); - /// Shows the configuration to a fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--format via --verbosity via - public static IEnumerable<(ConfixConfigShowSettings Settings, IReadOnlyCollection Output)> ConfixConfigShow(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixConfigShow, degreeOfParallelism, completeOnFailure); - /// Sets a configuration value in the nearest .confixrcFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<path> via <value> via --verbosity via - public static IReadOnlyCollection ConfixConfigSet(ConfixConfigSetSettings options = null) => new ConfixTasks().Run(options); - /// Sets a configuration value in the nearest .confixrcFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<path> via <value> via --verbosity via - public static IReadOnlyCollection ConfixConfigSet(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixConfigSetSettings())); - /// Sets a configuration value in the nearest .confixrcFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:<path> via <value> via --verbosity via - public static IEnumerable<(ConfixConfigSetSettings Settings, IReadOnlyCollection Output)> ConfixConfigSet(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixConfigSet, degreeOfParallelism, completeOnFailure); - /// Lists the configuration to a fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--format via --verbosity via - public static IReadOnlyCollection ConfixConfigList(ConfixConfigListSettings options = null) => new ConfixTasks().Run(options); - /// Lists the configuration to a fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--format via --verbosity via - public static IReadOnlyCollection ConfixConfigList(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixConfigListSettings())); - /// Lists the configuration to a fileFor more details, visit the official website. - /// This is a CLI wrapper with fluent API that allows to modify the following arguments:--format via --verbosity via - public static IEnumerable<(ConfixConfigListSettings Settings, IReadOnlyCollection Output)> ConfixConfigList(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixConfigList, degreeOfParallelism, completeOnFailure); + /// + /// Path to the Confix executable. + /// + public static string ConfixPath => + ToolPathResolver.TryGetEnvironmentExecutable("CONFIX_EXE") ?? + GetToolPath(); + public static Action ConfixLogger { get; set; } = CustomLogger; + public static Action ConfixExitHandler { get; set; } = ProcessTasks.DefaultExitHandler; + /// + /// For more details, visit the official website. + /// + public static IReadOnlyCollection Confix(ArgumentStringHandler arguments, string workingDirectory = null, IReadOnlyDictionary environmentVariables = null, int? timeout = null, bool? logOutput = null, bool? logInvocation = null, Action logger = null, Action exitHandler = null) + { + using var process = ProcessTasks.StartProcess(ConfixPath, arguments, workingDirectory, environmentVariables, timeout, logOutput, logInvocation, logger ?? ConfixLogger); + (exitHandler ?? (p => ConfixExitHandler.Invoke(null, p))).Invoke(process.AssertWaitForExit()); + return process.Output; + } + /// + /// builds a component. Runs all configured component inputs + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixComponentBuild(ConfixComponentBuildSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixComponentBuildSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// builds a component. Runs all configured component inputs + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixComponentBuild(Configure configurator) + { + return ConfixComponentBuild(configurator(new ConfixComponentBuildSettings())); + } + /// + /// builds a component. Runs all configured component inputs + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixComponentBuildSettings Settings, IReadOnlyCollection Output)> ConfixComponentBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixComponentBuild, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Initializes a component and creates a component file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <name> via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixComponentInit(ConfixComponentInitSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixComponentInitSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Initializes a component and creates a component file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <name> via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixComponentInit(Configure configurator) + { + return ConfixComponentInit(configurator(new ConfixComponentInitSettings())); + } + /// + /// Initializes a component and creates a component file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <name> via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixComponentInitSettings Settings, IReadOnlyCollection Output)> ConfixComponentInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixComponentInit, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Lists the component of the project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --format via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixComponentList(ConfixComponentListSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixComponentListSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Lists the component of the project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --format via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixComponentList(Configure configurator) + { + return ConfixComponentList(configurator(new ConfixComponentListSettings())); + } + /// + /// Lists the component of the project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --format via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixComponentListSettings Settings, IReadOnlyCollection Output)> ConfixComponentList(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixComponentList, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Adds a component to the project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <name> via + /// --output-file via + /// --verbosity via + /// --version via + /// + /// + public static IReadOnlyCollection ConfixComponentAdd(ConfixComponentAddSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixComponentAddSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Adds a component to the project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <name> via + /// --output-file via + /// --verbosity via + /// --version via + /// + /// + public static IReadOnlyCollection ConfixComponentAdd(Configure configurator) + { + return ConfixComponentAdd(configurator(new ConfixComponentAddSettings())); + } + /// + /// Adds a component to the project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <name> via + /// --output-file via + /// --verbosity via + /// --version via + /// + /// + public static IEnumerable<(ConfixComponentAddSettings Settings, IReadOnlyCollection Output)> ConfixComponentAdd(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixComponentAdd, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Reloads the schema of a project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixProjectRestore(ConfixProjectRestoreSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixProjectRestoreSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Reloads the schema of a project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixProjectRestore(Configure configurator) + { + return ConfixProjectRestore(configurator(new ConfixProjectRestoreSettings())); + } + /// + /// Reloads the schema of a project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixProjectRestoreSettings Settings, IReadOnlyCollection Output)> ConfixProjectRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixProjectRestore, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Replaces all variables in the project files with their values + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --encrypt via + /// --environment via + /// --no-restore via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixProjectBuild(ConfixProjectBuildSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixProjectBuildSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Replaces all variables in the project files with their values + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --encrypt via + /// --environment via + /// --no-restore via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixProjectBuild(Configure configurator) + { + return ConfixProjectBuild(configurator(new ConfixProjectBuildSettings())); + } + /// + /// Replaces all variables in the project files with their values + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --encrypt via + /// --environment via + /// --no-restore via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixProjectBuildSettings Settings, IReadOnlyCollection Output)> ConfixProjectBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixProjectBuild, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Initializes a project and creates a project file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixProjectInit(ConfixProjectInitSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixProjectInitSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Initializes a project and creates a project file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixProjectInit(Configure configurator) + { + return ConfixProjectInit(configurator(new ConfixProjectInitSettings())); + } + /// + /// Initializes a project and creates a project file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --output-file via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixProjectInitSettings Settings, IReadOnlyCollection Output)> ConfixProjectInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixProjectInit, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Validates the configuration files of a project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixProjectValidate(ConfixProjectValidateSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixProjectValidateSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Validates the configuration files of a project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixProjectValidate(Configure configurator) + { + return ConfixProjectValidate(configurator(new ConfixProjectValidateSettings())); + } + /// + /// Validates the configuration files of a project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixProjectValidateSettings Settings, IReadOnlyCollection Output)> ConfixProjectValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixProjectValidate, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Generates a report for the project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --no-restore via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixProjectReport(ConfixProjectReportSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixProjectReportSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Generates a report for the project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --no-restore via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixProjectReport(Configure configurator) + { + return ConfixProjectReport(configurator(new ConfixProjectReportSettings())); + } + /// + /// Generates a report for the project + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --no-restore via + /// --only-components via + /// --output-file via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixProjectReportSettings Settings, IReadOnlyCollection Output)> ConfixProjectReport(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixProjectReport, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Reloads the schema of all the projects in the solution + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixSolutionRestore(ConfixSolutionRestoreSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixSolutionRestoreSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Reloads the schema of all the projects in the solution + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixSolutionRestore(Configure configurator) + { + return ConfixSolutionRestore(configurator(new ConfixSolutionRestoreSettings())); + } + /// + /// Reloads the schema of all the projects in the solution + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixSolutionRestoreSettings Settings, IReadOnlyCollection Output)> ConfixSolutionRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixSolutionRestore, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Replaces all variables in the solution files with their values + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixSolutionBuild(ConfixSolutionBuildSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixSolutionBuildSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Replaces all variables in the solution files with their values + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixSolutionBuild(Configure configurator) + { + return ConfixSolutionBuild(configurator(new ConfixSolutionBuildSettings())); + } + /// + /// Replaces all variables in the solution files with their values + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixSolutionBuildSettings Settings, IReadOnlyCollection Output)> ConfixSolutionBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixSolutionBuild, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Initializes a solution and creates a solution file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixSolutionInit(ConfixSolutionInitSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixSolutionInitSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Initializes a solution and creates a solution file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixSolutionInit(Configure configurator) + { + return ConfixSolutionInit(configurator(new ConfixSolutionInitSettings())); + } + /// + /// Initializes a solution and creates a solution file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixSolutionInitSettings Settings, IReadOnlyCollection Output)> ConfixSolutionInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixSolutionInit, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Validates the schema of all the projects in the solution + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixSolutionValidate(ConfixSolutionValidateSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixSolutionValidateSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Validates the schema of all the projects in the solution + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixSolutionValidate(Configure configurator) + { + return ConfixSolutionValidate(configurator(new ConfixSolutionValidateSettings())); + } + /// + /// Validates the schema of all the projects in the solution + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixSolutionValidateSettings Settings, IReadOnlyCollection Output)> ConfixSolutionValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixSolutionValidate, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// resolves a variable by name + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --format via + /// --name via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixVariableGet(ConfixVariableGetSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixVariableGetSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// resolves a variable by name + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --format via + /// --name via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixVariableGet(Configure configurator) + { + return ConfixVariableGet(configurator(new ConfixVariableGetSettings())); + } + /// + /// resolves a variable by name + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --format via + /// --name via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixVariableGetSettings Settings, IReadOnlyCollection Output)> ConfixVariableGet(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixVariableGet, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// sets a variable. Overrides existing value if any. + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --name via + /// --value via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixVariableSet(ConfixVariableSetSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixVariableSetSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// sets a variable. Overrides existing value if any. + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --name via + /// --value via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixVariableSet(Configure configurator) + { + return ConfixVariableSet(configurator(new ConfixVariableSetSettings())); + } + /// + /// sets a variable. Overrides existing value if any. + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --name via + /// --value via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixVariableSetSettings Settings, IReadOnlyCollection Output)> ConfixVariableSet(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixVariableSet, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// list available variables + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --provider via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixVariableList(ConfixVariableListSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixVariableListSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// list available variables + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --provider via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixVariableList(Configure configurator) + { + return ConfixVariableList(configurator(new ConfixVariableListSettings())); + } + /// + /// list available variables + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --provider via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixVariableListSettings Settings, IReadOnlyCollection Output)> ConfixVariableList(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixVariableList, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Copies a variable from one provider to another provider + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --from via + /// --to via + /// --to-environment via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixVariableCopy(ConfixVariableCopySettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixVariableCopySettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Copies a variable from one provider to another provider + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --from via + /// --to via + /// --to-environment via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixVariableCopy(Configure configurator) + { + return ConfixVariableCopy(configurator(new ConfixVariableCopySettings())); + } + /// + /// Copies a variable from one provider to another provider + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --from via + /// --to via + /// --to-environment via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixVariableCopySettings Settings, IReadOnlyCollection Output)> ConfixVariableCopy(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixVariableCopy, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --encrypt via + /// --environment via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixBuild(ConfixBuildSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixBuildSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --encrypt via + /// --environment via + /// --output-file via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixBuild(Configure configurator) + { + return ConfixBuild(configurator(new ConfixBuildSettings())); + } + /// + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --encrypt via + /// --environment via + /// --output-file via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixBuildSettings Settings, IReadOnlyCollection Output)> ConfixBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixBuild, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixRestore(ConfixRestoreSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixRestoreSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixRestore(Configure configurator) + { + return ConfixRestore(configurator(new ConfixRestoreSettings())); + } + /// + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixRestoreSettings Settings, IReadOnlyCollection Output)> ConfixRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixRestore, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Validates the schema of all the projects + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixValidate(ConfixValidateSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixValidateSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Validates the schema of all the projects + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixValidate(Configure configurator) + { + return ConfixValidate(configurator(new ConfixValidateSettings())); + } + /// + /// Validates the schema of all the projects + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --environment via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixValidateSettings Settings, IReadOnlyCollection Output)> ConfixValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixValidate, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Encrypts a file using the configured provider + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <inputFile> via + /// <outFile> via + /// --environment via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixEncrypt(ConfixEncryptSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixEncryptSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Encrypts a file using the configured provider + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <inputFile> via + /// <outFile> via + /// --environment via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixEncrypt(Configure configurator) + { + return ConfixEncrypt(configurator(new ConfixEncryptSettings())); + } + /// + /// Encrypts a file using the configured provider + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <inputFile> via + /// <outFile> via + /// --environment via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixEncryptSettings Settings, IReadOnlyCollection Output)> ConfixEncrypt(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixEncrypt, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Decrypts a file using the configured provider + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <inputFile> via + /// <outFile> via + /// --environment via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixDecrypt(ConfixDecryptSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixDecryptSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Decrypts a file using the configured provider + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <inputFile> via + /// <outFile> via + /// --environment via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixDecrypt(Configure configurator) + { + return ConfixDecrypt(configurator(new ConfixDecryptSettings())); + } + /// + /// Decrypts a file using the configured provider + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <inputFile> via + /// <outFile> via + /// --environment via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixDecryptSettings Settings, IReadOnlyCollection Output)> ConfixDecrypt(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixDecrypt, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Shows the configuration to a file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --format via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixConfigShow(ConfixConfigShowSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixConfigShowSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Shows the configuration to a file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --format via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixConfigShow(Configure configurator) + { + return ConfixConfigShow(configurator(new ConfixConfigShowSettings())); + } + /// + /// Shows the configuration to a file + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// --format via + /// --verbosity via + /// + /// + public static IEnumerable<(ConfixConfigShowSettings Settings, IReadOnlyCollection Output)> ConfixConfigShow(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(ConfixConfigShow, ConfixLogger, degreeOfParallelism, completeOnFailure); + } + /// + /// Sets a configuration value in the nearest .confixrc + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + /// <path> via + /// <value> via + /// --verbosity via + /// + /// + public static IReadOnlyCollection ConfixConfigSet(ConfixConfigSetSettings toolSettings = null) + { + toolSettings = toolSettings ?? new ConfixConfigSetSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + /// Sets a configuration value in the nearest .confixrc + /// For more details, visit the official website. + /// + /// + /// This is a CLI wrapper with fluent API that allows to modify the following arguments: + /// + ///
For more details, visit the official website.
builds a component. Runs all configured component inputs
This is a CLI wrapper with fluent API that allows to modify the following arguments:
Initializes a component and creates a component file
Lists the component of the project
Adds a component to the project
Reloads the schema of a project
Replaces all variables in the project files with their values
Initializes a project and creates a project file
Validates the configuration files of a project
Generates a report for the project
Reloads the schema of all the projects in the solution
Replaces all variables in the solution files with their values
Initializes a solution and creates a solution file
Validates the schema of all the projects in the solution
resolves a variable by name
sets a variable. Overrides existing value if any.
list available variables
Copies a variable from one provider to another provider
Validates the schema of all the projects
Encrypts a file using the configured provider
Decrypts a file using the configured provider
Shows the configuration to a file
Sets a configuration value in the nearest .confixrc
Lists the configuration to a file