def _format_call(call, args):
out = '<STR_LIT>'<EOL>if args.source:<EOL><INDENT>out += call.annotation() + '<STR_LIT:\n>'<EOL><DEDENT>if args.only_keys:<EOL><INDENT>out += call.get_key()<EOL>return out<EOL><DEDENT>if args.view_call:<EOL><INDENT>out += call.as_call()<EOL><DEDENT>elif args.load_configs:<EOL><INDENT>out += call.as_live()<EOL><DEDENT>else:<EOL><INDENT>out += call.as_namespace()<EOL><DEDENT>return out<EOL>
Return `call` formatted appropriately for `args`.

:param call: A pyconfig call object
:param args: Arguments from the command
:type call: :class:`_PyconfigCall`