<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_command(self, name):
 """Wrap command class in constructor."""


        def command(options):
            client = ZookeeperClient(
                "%s:%d" % (options.pop('host'), options.pop('port')),
                session_timeout=1000
                )

            path = options.pop('path_prefix')
            force = options.pop('force')
            extra = options.pop('extra')

            # Apply settings to options dictionary. While this does
            # conflate arguments for the utility with command options,
            # that's something we're willing to accept.
            options.update(extra)

            controller = Command(client, path, self.services, force)
            method = getattr(controller, "cmd_%s" % name)
            return method(**options)

        return command