You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
Here you have OTP version and other information. If think it would be nice addition to add here Elixir version as well.
In IEx when you do:
Application.spec(:elixir)
You get keyword list:
description: 'elixir', id: [], vsn: '1.4.5',...
where vsn field gives you elixir version. I think it would be nice addition to display that info.
And getting this information in erlang should be as simple as porting this code snippet to erlang:
# from github elixir repo
@spec spec(app) :: [{key, value}] | nil
def spec(app) do
case :application.get_all_key(app) do
{:ok, info} -> :lists.keydelete(:env, 1, info)
:undefined -> nil
end
end
I think Elixir version (if it is IEx or it is an Elixir node) should be nice addition.
The text was updated successfully, but these errors were encountered: