@ShellComponent public class RepositoryCommands extends AbstractSkipperCommand
skipperClient| Constructor and Description |
|---|
RepositoryCommands(SkipperClient skipperClient) |
@Autowired public RepositoryCommands(SkipperClient skipperClient)
@ShellMethod(key="repo add",
value="Add package repository")
public String add(@ShellOption(help="name of the repository") @NotNull
String name,
@ShellOption(help="the root URL that points to index.yaml file") @NotNull
String url,
@ShellOption(help="the source URL to the package",defaultValue="__NULL__")
String sourceUrl)
@ShellMethod(key="repo delete",
value="Delete a package repository")
public String delete(@ShellOption(help="name of the repository to delete") @NotNull
String name)
@ShellMethod(key="repo list",
value="List package repositories")
public org.springframework.shell.table.Table list()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.