     output: :string, elixir: :boolean,
     help: :boolean, core_path: :string,
     full_build: :boolean, version: :boolean,
-    watch: :boolean, format: :string
+    watch: :boolean, format: :string, config: :boolean
   ]
 
   @aliases [
-    o: :output, ex: :elixir, h: :help, v: :version, f: :format
+    o: :output, ex: :elixir, h: :help, v: :version, f: :format, c: :config
   ]
 
   def main(argv) do

  usage: elixirscript <input> [options]
  <input> path to elixir files or
  the elixir code string if passed the -ex flag
  options:
  -f  --format [format] module format of output. options: es (default), common, umd
  -o  --output [path]   places output at the given path
  -ex --elixir          read input as elixir code string

    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
