Property | Type | Description | |
---|---|---|---|
AddToHistory | void | ||
LoadHistory | List |
Method | Description | |
---|---|---|
BeforeParse ( PowerArgs.ArgHook context ) : void |
Before PowerArgs parses the args, this hook inspects the command line for the indicator and if found takes over the command line and provides tab completion.
|
|
ClearHistory ( ) : void |
Clears all history saved on disk
|
|
TabCompletion ( |
Creates a new tab completion hook given a custom tab completion implementation.
|
|
TabCompletion ( string indicator = "" ) : System |
Creates a new tab completion hook.
|
Method | Description | |
---|---|---|
AddToHistory ( string item ) : void | ||
LoadHistory ( ) : List |
public BeforeParse ( PowerArgs.ArgHook context ) : void | ||
context | PowerArgs.ArgHook | The context used to inspect the command line arguments. |
return | void |
public TabCompletion ( |
||
completionSource | A type that implements ITabCompletionSource such as SimpleTabCompletionSource | |
indicator | string | When this indicator is the only argument the user specifies that triggers the hook to enhance the command prompt. By default, the indicator is the empty string. |
return | System |
public TabCompletion ( string indicator = "" ) : System | ||
indicator | string | When this indicator is the only argument the user specifies that triggers the hook to enhance the command prompt. By default, the indicator is the empty string. |
return | System |