switch from micro/cli/v2 to urfave/cli/v2, like https://github.com/asim/go-micro/pull/2224

This commit is contained in:
Willy Kloucek
2021-09-14 16:05:03 +02:00
parent 776f392a9c
commit 7b30571aff
152 changed files with 177 additions and 157 deletions

View File

@@ -4,9 +4,9 @@ import (
"fmt"
"net/http"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/web/pkg/config"
"github.com/owncloud/ocis/web/pkg/flagset"
"github.com/urfave/cli/v2"
)
// Health is the entrypoint for the health command.

View File

@@ -7,13 +7,13 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/micro/cli/v2"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/web/pkg/config"
"github.com/owncloud/ocis/web/pkg/version"
"github.com/spf13/viper"
"github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
)
// Execute is the entry point for the web command.

View File

@@ -6,7 +6,6 @@ import (
"io/ioutil"
"strings"
"github.com/micro/cli/v2"
"github.com/oklog/run"
"github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/owncloud/ocis/web/pkg/config"
@@ -15,6 +14,7 @@ import (
"github.com/owncloud/ocis/web/pkg/server/debug"
"github.com/owncloud/ocis/web/pkg/server/http"
"github.com/owncloud/ocis/web/pkg/tracing"
"github.com/urfave/cli/v2"
)
// Server is the entrypoint for the server command.