code: def _settings_from_args(self, args):
          
          if not args:
              return {}
  
          from_args = {}
          if args.yes:
              from_args['require_confirmation'] = not args.yes
          if args.debug:
              from_args['debug'] = args.debug
          if args.repeat:
              from_args['repeat'] = args.repeat
          return from_args
docs: Loads settings from args.