Skip to content

Latest commit

 

History

History
86 lines (47 loc) · 1.49 KB

info.rst

File metadata and controls

86 lines (47 loc) · 1.49 KB

lfetool Command Manual

info Command

The info command supports the following sub-commands:

  • bindir
  • erllibs
  • path
  • installdir
  • version

info bindir

This command returns the bin directory for the installed/active version of Erlang:

$ lfetool info bindir

info erllibs

lfetool uses the environment variable ERL_LIBS to provide access to all of a project's dependencies. Sometimes it's nice to see those lib dirs directly, so this command is provided as a convenience:

$ lfetool info erllibs

info path

lfetool uses the environment variable PATH to provide access to any needed binaries. It also adds some default directories:

  • ${DEPS}/lfe/bin
  • /opt/erlang/erjang

Due to the fact that obtaining the lfetool PATH settings can be useful for debugging or running commands manually, this is provided as a convenience:

$ lfetool info path

info installdir

This command returns the lib directory for the installed/active version of Erlang:

$ lfetool info installdir

info version

To get all the versions defined in your project (lfetool looks for versions defined in package.exs and src/*.app.src as well as git tags), use the followingn command:

$ lfetool info version