MCPcopy Create free account
hub / github.com/alibaba/GraphScope / cli

Function cli

python/graphscope/gsctl/gsctl.py:34–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33
34def cli():
35 if graphscope is None:
36 sys.path.insert(
37 0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "commands")
38 )
39 from dev import cli as dev_cli
40
41 dev_cli()
42
43 context = get_current_context()
44 # get the specified commands under the FLEX architecture
45 commands = get_command_collection(context)
46 # serve the command
47 commands()
48
49
50if __name__ == "__main__":

Callers 1

gsctl.pyFile · 0.70

Calls 4

get_current_contextFunction · 0.90
get_command_collectionFunction · 0.90
insertMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected