DefaultCommandSettings Class

Summary

Settings for the default command.
Namespace
Cake.Commands
Base Types
  • CommandSettings
graph BT Type-->Base0["CommandSettings"] Type["DefaultCommandSettings"] class Type type-node

Syntax

public sealed class DefaultCommandSettings : CommandSettings

Properties

Name Value Summary
Bootstrap bool
Gets or sets a value indicating whether to bootstrap modules without running the build.
Debug bool
Gets or sets a value indicating whether to launch the script in debug mode.
Description bool
Gets or sets a value indicating whether to show descriptions for each task.
DryRun bool
Gets or sets a value indicating whether to perform a dry run.
Exclusive bool
Gets or sets a value indicating whether to execute the target task without any dependencies.
Recompile bool
Gets or sets a value indicating whether to force the script to be recompiled if caching is enabled.
Script FilePath
Gets or sets the Cake script to execute.
ShowInfo bool
Gets or sets a value indicating whether to display additional information about Cake.
ShowVersion bool
Gets or sets a value indicating whether to display version information.
SkipBootstrap bool
Gets or sets a value indicating whether to skip bootstrapping when running the build.
Tree bool
Gets or sets a value indicating whether to show the task dependency tree.
Verbosity Verbosity
Gets or sets the verbosity level for logging.

Extension Methods

Name Value Summary
Dump<DefaultCommandSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DefaultCommandSettings>(DefaultCommandSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DefaultCommandSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DefaultCommandSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<DefaultCommandSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<DefaultCommandSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin