Package com.powsybl.tools.autocompletion
Class BashCompletionTool
java.lang.Object
com.powsybl.tools.autocompletion.BashCompletionTool
- All Implemented Interfaces:
Tool
- Author:
- Sylvain Leclerc <sylvain.leclerc at rte-france.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
generateCompletionScript
(List<Tool> tools, Path outputPath) Get the command of the tool.void
run
(org.apache.commons.cli.CommandLine line, ToolRunningContext context) Run the tool.
-
Constructor Details
-
BashCompletionTool
public BashCompletionTool()
-
-
Method Details
-
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
- Throws:
IOException
-