C# Class Sep.Git.Tfs.Commands.Help

Inheritance: GitTfsCommand
Datei anzeigen Open project: pmiossec/git-tfs Class Usage Examples

Public Methods

Method Description
Help ( GitTfsCommandFactory commandFactory, StructureMap.IContainer container ) : System.Collections.Generic
Run ( ) : int

Shows help for git-tfs as a whole (i.e. a list of commands).

Run ( GitTfsCommand command ) : int

Shows help for a specific command.

Run ( IList args ) : int

Figures out whether it should show help for git-tfs or for a particular command, and then does that.

Private Methods

Method Description
GetCommandInstances ( ) : IEnumerable
GetCommandMap ( ) : IEnumerable>.Dictionary
GetCommandName ( GitTfsCommand command ) : string
GetCommandUsage ( GitTfsCommand command ) : string

Method Details

Help() public method

public Help ( GitTfsCommandFactory commandFactory, StructureMap.IContainer container ) : System.Collections.Generic
commandFactory Sep.Git.Tfs.Util.GitTfsCommandFactory
container StructureMap.IContainer
return System.Collections.Generic

Run() public method

Shows help for git-tfs as a whole (i.e. a list of commands).
public Run ( ) : int
return int

Run() public method

Shows help for a specific command.
public Run ( GitTfsCommand command ) : int
command GitTfsCommand
return int

Run() public method

Figures out whether it should show help for git-tfs or for a particular command, and then does that.
public Run ( IList args ) : int
args IList
return int