Package com.powsybl.tools.autocompletion
Class BashCompletionTool
- java.lang.Object
-
- com.powsybl.tools.autocompletion.BashCompletionTool
-
- All Implemented Interfaces:
Tool
@AutoService(Tool.class) public class BashCompletionTool extends Object implements Tool
- Author:
- Sylvain Leclerc
-
-
Constructor Summary
Constructors Constructor Description BashCompletionTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateCompletionScript(List<Tool> tools, Path outputPath)
Command
getCommand()
Get the command of the tool.void
run(org.apache.commons.cli.CommandLine line, ToolRunningContext context)
Run the tool.
-
-
-
Method Detail
-
getCommand
public Command getCommand()
Description copied from interface:Tool
Get the command of the tool.- Specified by:
getCommand
in interfaceTool
-
run
public void run(org.apache.commons.cli.CommandLine line, ToolRunningContext context) throws Exception
Description copied from interface:Tool
Run the tool.
-
generateCompletionScript
public void generateCompletionScript(List<Tool> tools, Path outputPath) throws IOException
- Throws:
IOException
-
-