Tom Wiesing
d268728f7d
(exit.Error).Wrap => (exit.Error).WrapError
...
This commit moves from the deprecated (exit.Error).Wrap function to the
(exit.Error).WrapError instead.
2024-04-08 21:32:06 +02:00
Tom Wiesing
c31c46ee44
Rework error messages
...
This commit reworks error messages for all commands and makes sure they
pass liniting.
2023-03-09 12:18:39 +01:00
Tom Wiesing
c80c8f2297
Reformat documentation messages
2022-12-08 11:45:52 +01:00
Tom Wiesing
3455f491ca
Add context
...
This commit adds and passes context around to (almost) every function.
This allows cancelling (almost) every function call globally.
2022-11-29 15:32:31 +01:00
Tom Wiesing
10df1c3243
Move internal/core => internal/cli
2022-11-16 13:07:13 +01:00
Tom Wiesing
07409a01be
Cleanup and document hacky sql interaction
2022-09-19 23:16:56 +02:00
Tom Wiesing
f7b8804c61
sql: Begin cleanup of code
2022-09-19 13:03:59 +02:00
Tom Wiesing
a360324f62
Refactor Package structure
...
This commit cleans up the package structure, to make two new top-level
packages `internal` (for internal-use packages) and `pkg` (for general
shared utility code).
2022-09-12 15:42:21 +02:00
Tom Wiesing
4b357476a3
Add 'dis' component
...
This commit adds a new 'dis' component to the distillery that serves a
list of all known instances for the moment.
2022-09-09 17:10:24 +02:00
Tom Wiesing
35bb95c5ca
Show a warning when using wrong executable
...
This commit updates the 'wdcli' command to show a warning when using the
wrong executable.
2022-09-09 13:35:02 +02:00
Tom Wiesing
09431c4869
env: Move each component into a separate struct
...
This commit cleans up the distillery code by making each component a
distinct struct. Each of these components is also returned by by a new
Component() function that replaces the Stacks() function.
2022-09-08 14:39:04 +02:00
Tom Wiesing
5d906169f4
internal/stack: Cleanup API
...
This commit cleans up the internal stack API to prepare it for an
eventual move to using a native docker client.
2022-09-08 14:39:04 +02:00
Tom Wiesing
7b38fdd801
Do a large chunk of the move to go
...
This commit moves a huge chunk of the code to go. The TODO.md document
indicates what is left to be done.
2022-09-08 14:39:04 +02:00