MCPcopy Index your code
hub / github.com/flet-dev/flet / main

Function main

sdk/python/packages/flet-cli/src/flet_cli/cli.py:103–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102
103def main():
104 parser = get_parser()
105
106 # print usage/help if called without arguments
107 if len(sys.argv) == 1:
108 parser.print_help(sys.stdout)
109 sys.exit(1)
110
111 # parse arguments
112 args = parser.parse_args()
113
114 # execute command
115 args.handler(args)
116
117
118if __name__ == "__main__":

Callers 1

cli.pyFile · 0.70

Calls 2

get_parserFunction · 0.85
handlerMethod · 0.80

Tested by

no test coverage detected