CommandSpec
Class sealed net8.0
Specifies a command to execute.
namespace Aspire.TypeSystem;
public sealed class CommandSpec{ // ...}Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesArgsget; initstring[] Gets the arguments for the command. Supports placeholders: {appHostFile}, {appHostDir}, {args}
Commandget; initstring Gets the command to execute (e.g., "npm", "npx", "python").
EnvironmentVariablesget; initDictionary<string, string> Gets the environment variables to set when executing the command. These are merged with any environment variables provided by the caller.