   only used with the [output] option. When used, Elixir.js is not exported
   -v  --version         the current version number
   -h  --help            this message
+
+  Will check for an elixirscript.exs file in the current directory.
+  A specific file can be given with the -c flag.
+
+  A config file contain only a keyword list with have the following format:
+  [
+    input: (string or list) The input path(s),
+    output: (string) the output path,
+    format: (atom) the moduel format of the output,
+    js_modules: (keyword) a list of the js modules that will be used
+  ]
+
+  All fields are optional and will fallback to flags given
+  The config option is not compatible with the -ex flag
+
+
   """
   end
 

      true ->
        ElixirScript.compile(input, compile_opts)
      _ ->
        input = input
        |> Enum.map(fn(x) -> String.split(x, [" ", ","], trim: true) end)
        |> List.flatten

        ElixirScript.compile_path(input, compile_opts)


    end)
  end

  defp handle_input(input) do
        input = input
        |> Enum.map(fn(x) -> String.split(x, [" ", ","], trim: true) end)
        |> List.flatten
  end


  defp handle_config(path) do
    if File.exists?(path) do
      {config, _} = Code.eval_file(path)
      config
    else
      []
    end
  end

end
