--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/b8ef885a-b5c7-470c-8fcb-3fb6702eacb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
defmodule Myapp.MyCli dorequire Loggerdef main(argv) do{ :ok, _ } = Application.ensure_all_started(:myapp)
Myapp.start(_type, _data)
Logger.metadata(foo: "bar")Logger.error "hello, log"Logger.flushSystem.halt(0)endend
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/60e49851-a3c6-48ff-b1d3-a254ad635ed3%40googlegroups.com.
I'm sorry, I am still confused.When I am running as compiled and released application, everything is handy-dandy.When I am running `mix test`, everything also works as expected.I have troubles when I am running `mix myapp.my_cli`, which looks like:
```defmodule Mix.Tasks.Myapp.MyCli douse Mix.Task@shortdoc "run action in command line"def run(command_line_args) do
Mix.Tasks.App.Start.run([])
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/d89c8431-b94e-41dd-9ef8-d774445d7fe9%40googlegroups.com.