public class CreateRepoSubCommand extends SubCommand
SubCommand implementation for creating a repository in the local file system.| Constructor and Description |
|---|
CreateRepoSubCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSubCommandDescription()
Get the description for this sub-command.
|
void |
prepare()
Invoked before
SubCommand.run(). |
void |
run() |
cleanUp, getLocalServerRestClient, getSubCommandName, isVisibleInHelp, prompt, promptPasswordpublic CreateRepoSubCommand()
public String getSubCommandDescription()
SubCommandgetSubCommandDescription in class SubCommandpublic void prepare() throws Exception
SubCommandSubCommand.run().
Implementors should always invoked the super-method when overriding!
prepare in class SubCommandException - in case, the preparation failed.SubCommand.cleanUp()public void run() throws Exception
run in class SubCommandExceptionCopyright © 2013–2019. All rights reserved.