CommandSpec
Classsealednet10.0
Specifies a command to execute.
namespace Aspire.TypeSystem;
public sealed class CommandSpec{ // ...}5 members
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesArgsget; initstring[] Gets the arguments for the command. Supports placeholders: {appHostFile}, {appHostDir}, {args}
EnvironmentVariables get; initDictionary<string, string> Gets the environment variables to set when executing the command. These are merged with any environment variables provided by the caller.
UpToDateCheck get; init Gets an optional incremental-build check. When set, the command is skipped if every declared output exists and its stamp file is newer than every declared input. Null means the command always runs.