Edit

Share via


EnvironmentVariablesDirective Class

Definition

Enables the use of the [env:key=value] directive, allowing environment variables to be set from the command line during invocation.

public ref class EnvironmentVariablesDirective sealed : System::CommandLine::Directive
public sealed class EnvironmentVariablesDirective : System.CommandLine.Directive
type EnvironmentVariablesDirective = class
    inherit Directive
Public NotInheritable Class EnvironmentVariablesDirective
Inherits Directive
Inheritance
EnvironmentVariablesDirective

Constructors

EnvironmentVariablesDirective()

Initializes a new instance of the Object class.

Properties

Action

Gets or sets the CommandLineAction for the Directive. The handler represents the action that will be performed when the Directive is invoked.

Description

Gets or sets the description of the symbol.

(Inherited from Symbol)
Hidden

Gets or sets a value indicating whether the symbol is hidden.

(Inherited from Symbol)
Name

Gets the name of the symbol.

(Inherited from Symbol)
Parents

Gets the parent symbols.

(Inherited from Symbol)

Methods

GetCompletions(CompletionContext)

Gets completions for the symbol.

(Inherited from Directive)
ToString()

Returns a string that represents the current object.

(Inherited from Symbol)

Applies to