CommandAliases Class

Summary

Contains generic functionality for simplifying the execution tools with no dedicated alias available yet.

Namespace
Cake.Common.Tools.Command
Base Types
  • object
graph BT Type-->Base0["object"] Type["CommandAliases"] class Type type-node

Syntax

[CakeAliasCategory("Command")]
public static class CommandAliases

Attributes

Type Description
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Methods

Name Value Summary
Command(ICakeContext, CommandSettings, ProcessArgumentBuilder) void
Executes a generic command based on arguments and settings.
static
Command(ICakeContext, CommandSettings, string, ProcessArgumentBuilder) int
Executes a generic tool/process based on arguments, settings and redirects standard output.
static
Command(ICakeContext, CommandSettings, string, string, ProcessArgumentBuilder) int
Executes a generic tool/process based on arguments and settings.
static
Command(ICakeContext, ICollection<string>, ProcessArgumentBuilder, int, Func<CommandSettings, CommandSettings>) void
Executes a generic tool/process based on arguments and settings.
static
Command(ICakeContext, ICollection<string>, string, ProcessArgumentBuilder, int, Func<CommandSettings, CommandSettings>) int
Executes a generic tool/process based on arguments, tool executable names and redirects standard output.
static
Command(ICakeContext, ICollection<string>, string, string, ProcessArgumentBuilder, int, Func<CommandSettings, CommandSettings>) int
Executes a generic tool/process based on arguments, settings, redirects standard output and standard error.
static

Extension Methods

Name Value Summary
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