MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / cmd_list

Function cmd_list

src/ifcedit/ifcedit/__main__.py:64–74  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

62
63
64def cmd_list(args):
65 if args.module:
66 try:
67 functions = list_functions(args.module)
68 except Exception as e:
69 print(f"Error: {e}", file=sys.stderr)
70 sys.exit(1)
71 print(format_output(functions, args.output_format))
72 else:
73 modules = list_modules()
74 print(format_output(modules, args.output_format))
75
76
77def cmd_docs(args):

Callers 1

mainFunction · 0.85

Calls 5

list_functionsFunction · 0.90
list_modulesFunction · 0.90
printFunction · 0.85
format_outputFunction · 0.70
exitMethod · 0.45

Tested by

no test coverage detected