mix termui.run (TermUI v1.0.0)
View SourceRuns a TermUI application.
Usage
mix termui.runExamples
From a TermUI example directory:
mix termui.runFrom any project with a TermUI app:
mix termui.run --module MyAppOptions
--module MODULE - Module name containing run/0 (default: autodetect)
--function NAME - Function name to call (default: run)
--iex - Run in IEx-compatible mode (same as env TERM_UI_IEX_MODE=true)How it works
- Autodetects the module containing
run/0from mix.exs app name - Compiles the project
- Calls
Module.run()to start the TUI application