Interface CLISubSystem
public interface CLISubSystem
Extension point for adding sub-systems to the Q2 CLI.
-
Method Summary
Modifier and TypeMethodDescriptionString[]getCompletionPrefixes(CLIContext ctx, String[] args) Returns the command prefixes registered by this sub-system.getPrompt(CLIContext ctx, String[] args) Returns the prompt string for this sub-system.
-
Method Details
-
getPrompt
Returns the prompt string for this sub-system.- Parameters:
ctx- the CLI contextargs- current command arguments- Returns:
- the prompt string
-
getCompletionPrefixes
Returns the command prefixes registered by this sub-system.- Parameters:
ctx- the CLI contextargs- current command arguments- Returns:
- command prefixes
-