Represents the state of the application when it was run.
- Namespace
- Statiq
.Common - Interfaces
- Base Types
-
- object
Syntax
public class ApplicationState : IApplicationState
Constructors
Name | Summary |
---|---|
ApplicationState |
Properties
Name | Property Type | Summary |
---|---|---|
Arguments | string[] |
Gets the raw arguments passed to the application (the first argument is typically the "command").
|
CommandName | string |
The CLI command that was run.
|
Input | string |
Gets any input that was passed to the application (for example, on stdin via piping).
|