enbas/internal
Dan Anglin ccdd8b6530
fix: add a new internal printer
Add a new internal printer package for printing resources to the screen
or pager.

With the new printer in place, most of the settings such as the pager
command, colour theme, whether or not colour output is disabled, etc
are defined in one place which saves us the trouble of passing an
increasing number of parameters to an increasing number of Display
methods throughout the code base.

The old Displayer interface and associated Display methods in the
model package are removed as this is now handled by the printer.

The format functions in the utilities package has essentially been
rewritten as methods to the Printer type.

Additional changes:

- All indentation when displaying information about resources (e.g.
  statuses, instance, accounts) are removed.
- The application's build information now has colour output.
2024-06-17 18:59:20 +01:00
..
client fix: add a new internal printer 2024-06-17 18:59:20 +01:00
config fix: update error handling 2024-06-02 11:35:43 +01:00
executor fix: add a new internal printer 2024-06-17 18:59:20 +01:00
model fix: add a new internal printer 2024-06-17 18:59:20 +01:00
printer fix: add a new internal printer 2024-06-17 18:59:20 +01:00
utilities fix: add a new internal printer 2024-06-17 18:59:20 +01:00
internal.go chore: make the project REUSE compliant 2024-06-02 07:53:13 +01:00