INNER CODE UNIT · Python
verboseprint
mitre-attack/attack-scripts · scripts/diff_stix.py:683
def verboseprint(*args, **kwargs):
print(*args, **kwargs)
else:
verboseprint = lambda *a, **k: None
if args.markdown:
md_string = diffStix.get_markdown_string()
markdown_string_to_file(args.markdown, md_string)
if args.layers is not None:
if len(args.layers) == 0:
# no files specified, e.g. '-layers', use defaults
diffStix.layers = layer_defaults
args.layers = layer_defaults
elif len(args.layers) == 3:
# files specified, e.g. '-layers file.json file2.json file3.json', use specified