MCPcopy Index your code
hub / github.com/httpie/cli / main

Function main

httpie/__main__.py:6–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6def main():
7 try:
8 from httpie.core import main
9 exit_status = main()
10 except KeyboardInterrupt:
11 from httpie.status import ExitStatus
12 exit_status = ExitStatus.ERROR_CTRL_C
13
14 return exit_status.value
15
16
17if __name__ == '__main__': # pragma: nocover

Callers 2

httpie_cli.pyFile · 0.90
http_cli.pyFile · 0.90

Calls 1

mainFunction · 0.90

Tested by

no test coverage detected