aac.execute.command_line¶
The entry-point for the command line interface for the aac tool.
Functions
|
Decorator to catch and handle exceptions in a function. |
Initialize the CLI. |
|
|
Output the result of the command. |
|
Convert an AacCommand to a Click Command. |
|
Convert an AacCommandArgument to a Click Parameter. |
|
Convert the named type to a type recognized by Click. |
- aac.execute.command_line.handle_exceptions(plugin_name: str, func: Callable) Callable [source]¶
Decorator to catch and handle exceptions in a function.
- Parameters:
plugin_name (str)
func (Callable)
- Return type:
Callable
- aac.execute.command_line.output_result(result: ExecutionResult)[source]¶
Output the result of the command.
- Parameters:
result (ExecutionResult)
- aac.execute.command_line.to_click_command(plugin_name: str, command: AacCommand) Command [source]¶
Convert an AacCommand to a Click Command.
- Parameters:
plugin_name (str)
command (AacCommand)
- Return type:
Command
- aac.execute.command_line.to_click_parameter(argument: AacCommandArgument) Parameter [source]¶
Convert an AacCommandArgument to a Click Parameter.
- Parameters:
argument (AacCommandArgument)
- Return type:
Parameter