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

Method _process_download_options

httpie/cli/argparser.py:542–552  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

540 self.args.prettify = PRETTY_MAP[self.args.prettify]
541
542 def _process_download_options(self):
543 if self.args.offline:
544 self.args.download = False
545 self.args.download_resume = False
546 return
547 if not self.args.download:
548 if self.args.download_resume:
549 self.error('--continue only works with --download')
550 if self.args.download_resume and not (
551 self.args.download and self.args.output_file):
552 self.error('--continue requires --output to be specified')
553
554 def _process_format_options(self):
555 format_options = self.args.format_options or []

Callers 1

parse_argsMethod · 0.95

Calls 1

errorMethod · 0.95

Tested by

no test coverage detected