class Remote extends TextBuiltin
TextBuiltin.TerminatedByHelpException
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
command |
private java.lang.String |
name |
private boolean |
prune |
private boolean |
push |
private java.lang.String |
uri |
private boolean |
verbose |
Constructor and Description |
---|
Remote() |
Modifier and Type | Method and Description |
---|---|
private void |
print(java.util.List<RemoteConfig> remotes) |
void |
printUsage(java.lang.String message,
CmdLineParser clp)
Print usage help text.
|
protected void |
run()
Perform the actions of this command.
|
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsageAndExit, printUsageAndExit, requiresRepository, resolve, setCommandName
private boolean verbose
private boolean prune
private boolean push
private java.lang.String command
private java.lang.String name
private java.lang.String uri
protected void run()
This method should only be invoked by TextBuiltin.execute(String[])
.
run
in class TextBuiltin
public void printUsage(java.lang.String message, CmdLineParser clp) throws java.io.IOException
printUsage
in class TextBuiltin
message
- non nullclp
- parser used to print optionsjava.io.IOException
private void print(java.util.List<RemoteConfig> remotes) throws java.io.IOException
java.io.IOException