mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
This splits the concern of how to display errors off from the business logic. This should make it easier to test functionality and allow us to concentrate on how to actually display and communicate errors to the user. At some point this might also make i18n feasible, because you only have to swap out a single file. This hasn't quite fixed the debug/trace story yet. It should be possible to simply insert a "debug" command into any pipeline and see the context and state at that point.
3 lines
114 B
Nu
3 lines
114 B
Nu
export use eval-config.nu [eval-disko-file eval-flake]
|
|
export use errors.nu [exit-on-error print-info print-help]
|