aac.plugins.check.check_aac_impl¶
The AaC Check AaC plugin implementation module.
Functions
|
Business logic for the check command. |
- aac.plugins.check.check_aac_impl.check(aac_file: str, fail_on_warn: bool, verbose: bool) ExecutionResult [source]¶
Business logic for the check command.
- Parameters:
aac_file (str) – The AaC file being processed
fail_on_warn (bool) – Flag to fail when warnings are discovered
verbose (bool) – Flag for verbose mode. When true add success messages as encountered.
- Returns:
- Method result containing: plugin_name (“Check AaC”), “check”, status, message
including results from lower level helper methods
- Return type:
- Raises:
LanguageError – Passed up LanguageError from get_defining_schema_for_root