Свойство | Тип | Описание | |
---|---|---|---|
arguments | List |
||
options |
Свойство | Тип | Описание | |
---|---|---|---|
argWalk | GitSharp.Core.RevWalk.RevWalk |
Метод | Описание | |
---|---|---|
Execute ( String args ) : void |
Parses the command line and runs the corresponding subcommand
|
|
GetCommand ( ) : Command |
Returns the current command for lightweight referencing.
|
|
Init ( Core repo, |
Initializes a command for use including the repository and output support.
|
|
OnlineHelp ( ) : void |
Opens the default webbrowser to display the command specific help.
|
|
ParseOptions ( string args ) : List |
Parses the options for all subcommands and executes the corresponding code for each option.
|
|
Run ( String args ) : void |
Provides an abstract layer to perform the action of this command. This method should only be invoked by the Execute(String[] args) method.
|
|
getCommandHelp ( ) : string |
Used by CommandRef to get the command help website during initial creation.
|
|
getCommandName ( ) : string |
Used by CommandRef to get the command name during initial creation.
|
Метод | Описание | |
---|---|---|
die ( String why ) : |
Generic method used to return an exception during fatal conditions.
|
Метод | Описание | |
---|---|---|
Resolve ( string s ) : GitSharp.ObjectId |
public Execute ( String args ) : void | ||
args | String | Specifies the command line arguments passed after the command name. |
Результат | void |
public Init ( Core repo, |
||
repo | Core | Specifies the repository to use. |
path | ||
Результат | void |
public ParseOptions ( string args ) : List |
||
args | string | Specifies the string from the options to the end of the command line. |
Результат | List |
public abstract Run ( String args ) : void | ||
args | String | |
Результат | void |
protected static die ( String why ) : |
||
why | String | Specifies the textual explanation of why the exception was thrown. |
Результат |
protected RevWalk,GitSharp.Core.RevWalk argWalk | ||
Результат | GitSharp.Core.RevWalk.RevWalk |