def ParseFields(selected, default):
  if selected is None:
    return default

  if selected.startswith("+"):
    return default + selected[1:].split(",")

  return selected.split(",")
Get plugin parameter
dataset/ETHPy150Open ganeti/ganeti/lib/cli.py/ParseFields--crossover with--dataset/ETHPy150Open gooddata/smoker/smoker/server/plugins/__init__.py/PluginWorker.get_param