Represents the state of the application when it was run.
- Namespace
- Statiq
.Common - Implementing Types
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).
|