@ShellComponent public class Completion extends AbstractShellComponent
bash
.Modifier and Type | Class and Description |
---|---|
static interface |
Completion.Command
Marker interface used in auto-config.
|
Constructor and Description |
---|
Completion(String rootCommand) |
Modifier and Type | Method and Description |
---|---|
String |
bash() |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
afterPropertiesSet, getApplicationContext, getCommandCatalog, getCompletionResolver, getResourceLoader, getShell, getTemplateExecutor, getTerminal, getThemeResolver, setApplicationContext
public Completion(String rootCommand)
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader
in interface org.springframework.context.ResourceLoaderAware
setResourceLoader
in class AbstractShellComponent
@ShellMethod(key="completion bash", value="Generate bash completion script") public String bash()
Copyright © 2024. All rights reserved.