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, promptPassword
public CreateRepoSubCommand()
public String getSubCommandDescription()
SubCommand
getSubCommandDescription
in class SubCommand
public void prepare() throws Exception
SubCommand
SubCommand.run()
.
Implementors should always invoked the super-method when overriding!
prepare
in class SubCommand
Exception
- in case, the preparation failed.SubCommand.cleanUp()
public void run() throws Exception
run
in class SubCommand
Exception
Copyright © 2013–2019. All rights reserved.