MCPcopy
hub / github.com/httpie/cli / cli_check_updates

Function cli_check_updates

httpie/manager/tasks/check_updates.py:7–10  ·  view source on GitHub ↗
(env: Environment, args: argparse.Namespace)

Source from the content-addressed store, hash-verified

5
6
7def cli_check_updates(env: Environment, args: argparse.Namespace) -> ExitStatus:
8 fetch_updates(env, lazy=False)
9 env.stdout.write(get_update_status(env))
10 return ExitStatus.SUCCESS

Callers

nothing calls this directly

Calls 3

fetch_updatesFunction · 0.90
get_update_statusFunction · 0.90
writeMethod · 0.45

Tested by

no test coverage detected