C# (CSharp) GitSharp.CLI Namespace

Nested Namespaces

GitSharp.CLI.Nonstandard

Classes

Name Description
Add
Checkout
Clone
CmdParserOptionSet
CommandCatalog List of all commands known by the command line tools. Commands are implementations of the TextBuiltin class, with a required command attribute to insert additional documentation and add some extra information such as if the command is common and completed. Commands may be registered by adding them to the Commands.xml file. The Commands.xml file should contain: a. The command name including namespace. b. The website address for command specific online help.(optional)
CommandRef Description of a command subcommand. These descriptions are lightweight compared to creating a command instance and are therefore suitable for catalogs of "known" commands without linking the command's implementation and creating a dummy instance of the command.
Config
Die Indicates a TextBuiltin implementation has failed during execution.

Typically the stack trace for a Die exception is not shown to the user as it may indicate a simple error condition that the end-user can fix on their own, without needing a screen of stack frames.

Fetch
Init
Merge
Pull
Push
Rm
Show
Status
TextBuiltin Abstract command which can be invoked from the command line. Commands are configured with a single "current" repository and then the execute(String[]) method is invoked with the arguments that appear after the subcommand. Command constructors should perform as little work as possible as they may be invoked very early during process loading, and the command may not execute even though it was constructed.