code: function(site, env) {
  
      // Placeholder for drush usings
      var shouldUseDrush;
  
      // Check for wheter we can use drush or not
      return useDrush(site, env)
  
      // Get the connection info or drush version
      .then(function(response) {
        shouldUseDrush = response;
        if (shouldUseDrush) {
          return terminus.getDrushVersion(site, env);
        }
        else {
          return terminus.connectionInfo(site, env);
        }
      })
  
      // Construct the command and optimize if needed
      .then(function(data) {
  
        // Construct the alias
        var alias = ['@pantheon', site, env].join('.');
  
        // Basic import command
        var cmd = (shouldUseDrush) ? drushSqlDumpCmd(alias) : mysqlDumpCmd(data);
  
        // If this is drush import and we are drush 7+ then optimize
        if (useDrush && data >= 7) {
          cmd.push('--structure-tables-list=' + getDrupalSkipData());
        }
  
        // Return cmd
        return cmd;
  
      });
  
    }
docs: /*
  Switch to return the correct msyql command based on the framework
  see: https://github.com/kalabox/kalabox/issues/1329