Update dependencies
This commit is contained in:
parent
0c888eab1c
commit
9b30223b09
26 changed files with 35 additions and 35 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue