@@ -0,0 +1,804 @@
+package io.digdag.util;%0A%0Aimport io.digdag.client.config.ConfigException;%0Aimport io.digdag.spi.PrivilegedVariables;%0Aimport java.util.Map;%0Aimport java.util.regex.Pattern;%0A%0Apublic class CommandOperators%0A%7B%0A    private final static Pattern VALID_ENV_KEY = Pattern.compile(%22%5Ba-zA-Z_%5D%5Ba-zA-Z_0-9%5D*%22);%0A%0A    public static void collectEnvironmentVariables(final Map%3CString, String%3E env, final PrivilegedVariables variables)%0A    %7B%0A        for (String name : variables.getKeys()) %7B%0A            if (!VALID_ENV_KEY.matcher(name).matches()) %7B%0A                throw new ConfigException(%22Invalid _env key name: %22 + name);%0A            %7D%0A            env.put(name, variables.get(name));%0A        %7D%0A    %7D%0A%0A    public static boolean isValidEnvKey(String key)%0A    %7B%0A        return VALID_ENV_KEY.matcher(key).matches();%0A    %7D%0A%0A%7D%0A

Add util.CommandOperators