code: def configure_bigchaindb(command):
      
      @functools.wraps(command)
      def configure(args):
          config_from_cmdline = None
          try:
              if args.log_level is not None:
                  config_from_cmdline = {
                      'log': {
                          'level_console': args.log_level,
                          'level_logfile': args.log_level,
                      },
                      'server': {'loglevel': args.log_level},
                  }
          except AttributeError:
              pass
          bigchaindb.config_utils.autoconfigure(
              filename=args.config, config=config_from_cmdline, force=True)
          command(args)
  
      return configure
docs: Decorator to be used by command line functions, such that the
      configuration of bigchaindb is performed before the execution of
      the command.
  
      Args:
          command: The command to decorate.
  
      Returns:
          The command wrapper function.