def set_metrics(self, args):
    'Sets metrics common to all commands.'
    self.usage.command.set(args.command)
    self._set_os()
    self._set_python()
    self.usage.override_switch.set((getattr(args, 'force_vcs', False) or getattr(args, 'force', False)))
    self.usage.command_time.start()
    self.user.installation.set(user_data.installation_id)
    self.user.id.set(user_data.user_code)
Sets metrics common to all commands.
def set_metrics(self, args):
    
    self.usage.command.set(args.command)
    self._set_os()
    self._set_python()
    self.usage.override_switch.set((getattr(args, 'force_vcs', False) or getattr(args, 'force', False)))
    self.usage.command_time.start()
    self.user.installation.set(user_data.installation_id)
    self.user.id.set(user_data.user_code)