View Source Tux Changelog
v0.X.Y - Current
This version is not yet published to hex.pm.
- Add new
tux_newinstaller - Add test for raising
Tux.Errorexceptions
v0.4.0 – June 2024
- Include dispatcher preloads in the final command preloads.
- Refactor and improve
Tux.Dispatcher. - Rename Tux.Error
:exit_codeto:exitcode. - Rename
Tux.Explainableprotocol toTux.Alertable. - Replace demo example with recon.
- Rename Tux.Quick
modulemacro toprogram. - Remove
:warntype from theTux.Result. - Add
Tux.Exitmodule for controlling exits. - Move all errors in the
Tux.Errorsmodule. - Remove
Tux.Commands.NotImplemented. - Show both choices when using
Prompt.for_confirmation. - Emit
ConfigReadErrorandConfigWriteErroron bang config functions. - Add new dispatcher option
:exitwithwith possible values:haltor:stop. - Exit with non-zero status when command modules return errors.
v0.3.5 – February 2024
- Update
premacro to accept a single command. - Add compile-time checks for conflicting command names.
- Add
cmdsupport for prefixed commands viasigil_p.
v0.3.0 – January 2024
- Update the
cmdmacro to allow registration of multiple names for a command: e.g.cmd ~w(name another_name), CmdModule. - Add support for cumulative preloads when using nested dispatchers, by merging preloads down the command hierarchy.
- Rename the command module callback from
info/0toabout/0 - Add
Tux.Commands.NotImplemented, which can be used as a placeholder command module when one hasn't been implemented yet. - Add the
pre/2macro to simplify the registration of commands with common preloads.
v0.2.0 – December 2023
- Add
Tux.Init,Tux.Exec&Tux.Showas separate stages in a command life cycle - Add
Tux.Envstruct for storing preloads returns and command context - Add
Tux.Colorsfor writing colored output - Add
Tux.Promptfor user prompting (ints, floats, strings) and confirmations - Add
Tux.Configfor reading and writing simplekey = valueconfig files - Add
Tux.Explainableprotocol as a source for alerts - Add
Tux.Alertfor displaying warnings and errors - Add
Tux.Errorfor creating displayable errors - Add
Tux.Helpfor creating help messages - Add
Tux.Resultfor validating returns of commands - Add
Tux.Commandfor creating command modules - Add
Tux.Dispatcherfor creating dispatcher modules and registering command modules withcmd/3macro.
v0.1.0
- Initial commit