Update dependencies

This commit is contained in:
Tom Wiesing 2023-03-15 19:45:50 +01:00
parent 0c888eab1c
commit 9b30223b09
No known key found for this signature in database
26 changed files with 35 additions and 35 deletions

View file

@ -8,8 +8,8 @@ import (
"github.com/FAU-CDI/wisski-distillery/internal/cli"
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
"github.com/tkw1536/goprogram/exit"
"github.com/tkw1536/goprogram/status"
"github.com/tkw1536/pkglib/collection"
"github.com/tkw1536/pkglib/status"
)
// BlindUpdate is the 'blind_update' command

View file

@ -8,7 +8,7 @@ import (
"github.com/FAU-CDI/wisski-distillery/internal/cli"
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
"github.com/tkw1536/goprogram/exit"
"github.com/tkw1536/goprogram/status"
"github.com/tkw1536/pkglib/status"
)
// Cron is the 'cron' command

View file

@ -9,7 +9,7 @@ import (
wstatus "github.com/FAU-CDI/wisski-distillery/internal/status"
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
"github.com/tkw1536/goprogram/exit"
"github.com/tkw1536/goprogram/status"
"github.com/tkw1536/pkglib/status"
)
// DrupalUser is the 'drupal_user' setting

View file

@ -8,7 +8,7 @@ import (
"github.com/FAU-CDI/wisski-distillery/internal/cli"
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
"github.com/tkw1536/goprogram/exit"
"github.com/tkw1536/goprogram/status"
"github.com/tkw1536/pkglib/status"
)
// Cron is the 'cron' command

View file

@ -11,7 +11,7 @@ import (
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
"github.com/tkw1536/goprogram/exit"
"github.com/tkw1536/goprogram/status"
"github.com/tkw1536/pkglib/status"
)
// SystemPause is the 'system_pause' command

View file

@ -13,7 +13,7 @@ import (
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
"github.com/tkw1536/goprogram/exit"
"github.com/tkw1536/goprogram/parser"
"github.com/tkw1536/goprogram/status"
"github.com/tkw1536/pkglib/status"
)
// SystemUpdate is the 'system_update' command

View file

@ -9,7 +9,7 @@ import (
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
"github.com/tkw1536/goprogram/exit"
"github.com/tkw1536/goprogram/status"
"github.com/tkw1536/pkglib/status"
)
// Cron is the 'cron' command

View file

@ -10,7 +10,7 @@ import (
"github.com/FAU-CDI/wisski-distillery/cmd"
"github.com/FAU-CDI/wisski-distillery/internal/cli"
"github.com/tkw1536/goprogram/exit"
"github.com/tkw1536/goprogram/stream"
"github.com/tkw1536/pkglib/stream"
)
var wdcli = wisski_distillery.NewProgram()
@ -95,7 +95,7 @@ func main() {
// we don't need to even bother with the rest of the program
// just immediatly return a custom error message.
if len(os.Args) == 1 {
streams.Die(errNoArgumentsProvided)
exit.Die(streams, errNoArgumentsProvided)
errNoArgumentsProvided.Return()
return
}
@ -105,7 +105,7 @@ func main() {
err := func() error {
params, err := cli.ParamsFromEnv()
if err != nil {
return streams.Die(err)
return exit.Die(streams, err)
}
return wdcli.Main(streams, params, os.Args[1:])