MCPcopy Create free account
hub / github.com/wal-e/wal-e / render_subcommand

Function render_subcommand

wal_e/cmd.py:570–578  ·  view source on GitHub ↗

Render a subcommand for human-centric viewing

(args)

Source from the content-addressed store, hash-verified

568
569
570def render_subcommand(args):
571 """Render a subcommand for human-centric viewing"""
572 if args.subcommand == 'delete':
573 return 'delete ' + args.delete_subcommand
574
575 if args.subcommand in ('wal-prefetch', 'wal-push', 'wal-fetch'):
576 return None
577
578 return args.subcommand
579
580
581def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected