Represents the state of the application when it was run.
- Namespace
- Statiq
.Common - Implementing Types
graph BT
Type["IApplicationState"]
class Type type-node
Implementing0["ApplicationState"]-.->Type
click Implementing0 "/api/Statiq.Common/ApplicationState"
Syntax
public interface IApplicationState
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).
|