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-27 12:02:55 +02:00
parent 776f392a9c
commit 7b30571aff
152 changed files with 177 additions and 157 deletions
+1 -1
View File
@@ -4,10 +4,10 @@ import (
"fmt" "fmt"
"github.com/asim/go-micro/plugins/client/grpc/v3" "github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset" "github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0" accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
) )
// AddAccount command creates a new account // AddAccount command creates a new account
+1 -1
View File
@@ -6,11 +6,11 @@ import (
"strconv" "strconv"
"github.com/asim/go-micro/plugins/client/grpc/v3" "github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter" tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset" "github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0" accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
) )
// InspectAccount command shows detailed information about a specific account. // InspectAccount command shows detailed information about a specific account.
+1 -1
View File
@@ -6,11 +6,11 @@ import (
"strconv" "strconv"
"github.com/asim/go-micro/plugins/client/grpc/v3" "github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter" tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset" "github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0" accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
) )
// ListAccounts command lists all accounts // ListAccounts command lists all accounts
+1 -1
View File
@@ -6,9 +6,9 @@ import (
"github.com/asim/go-micro/plugins/client/grpc/v3" "github.com/asim/go-micro/plugins/client/grpc/v3"
merrors "github.com/asim/go-micro/v3/errors" merrors "github.com/asim/go-micro/v3/errors"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
index "github.com/owncloud/ocis/accounts/pkg/proto/v0" index "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
) )
// RebuildIndex rebuilds the entire configured index. // RebuildIndex rebuilds the entire configured index.
+1 -1
View File
@@ -5,10 +5,10 @@ import (
"os" "os"
"github.com/asim/go-micro/plugins/client/grpc/v3" "github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset" "github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0" accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
) )
// RemoveAccount command deletes an existing account. // RemoveAccount command deletes an existing account.
+1 -1
View File
@@ -5,7 +5,6 @@ import (
"os" "os"
"strings" "strings"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset" "github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/owncloud/ocis/accounts/pkg/version" "github.com/owncloud/ocis/accounts/pkg/version"
@@ -14,6 +13,7 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
var ( var (
+1 -1
View File
@@ -6,7 +6,6 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset" "github.com/owncloud/ocis/accounts/pkg/flagset"
@@ -15,6 +14,7 @@ import (
"github.com/owncloud/ocis/accounts/pkg/server/http" "github.com/owncloud/ocis/accounts/pkg/server/http"
svc "github.com/owncloud/ocis/accounts/pkg/service/v0" svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
"github.com/owncloud/ocis/accounts/pkg/tracing" "github.com/owncloud/ocis/accounts/pkg/tracing"
"github.com/urfave/cli/v2"
) )
// Server is the entry point for the server command. // Server is the entry point for the server command.
+1 -1
View File
@@ -5,10 +5,10 @@ import (
"fmt" "fmt"
"github.com/asim/go-micro/plugins/client/grpc/v3" "github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset" "github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0" accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
"google.golang.org/genproto/protobuf/field_mask" "google.golang.org/genproto/protobuf/field_mask"
) )
+1 -1
View File
@@ -6,10 +6,10 @@ import (
"github.com/owncloud/ocis/ocis-pkg/registry" "github.com/owncloud/ocis/ocis-pkg/registry"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter" tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset" "github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// PrintVersion prints the service versions of all running instances. // PrintVersion prints the service versions of all running instances.
+1 -1
View File
@@ -1,10 +1,10 @@
package flagset package flagset
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0" accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/ocis-pkg/flags" "github.com/owncloud/ocis/ocis-pkg/flags"
"github.com/urfave/cli/v2"
) )
// RootWithConfig applies cfg to the root flagset // RootWithConfig applies cfg to the root flagset
+1 -1
View File
@@ -3,11 +3,11 @@ package grpc
import ( import (
"context" "context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/metrics" "github.com/owncloud/ocis/accounts/pkg/metrics"
svc "github.com/owncloud/ocis/accounts/pkg/service/v0" svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/urfave/cli/v2"
) )
// Option defines a single option function. // Option defines a single option function.
+1 -1
View File
@@ -3,11 +3,11 @@ package http
import ( import (
"context" "context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config" "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/metrics" "github.com/owncloud/ocis/accounts/pkg/metrics"
svc "github.com/owncloud/ocis/accounts/pkg/service/v0" svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/urfave/cli/v2"
) )
// Option defines a single option function. // Option defines a single option function.
+1 -1
View File
@@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/glauth/pkg/config" "github.com/owncloud/ocis/glauth/pkg/config"
"github.com/owncloud/ocis/glauth/pkg/flagset" "github.com/owncloud/ocis/glauth/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// Health is the entrypoint for the health command. // Health is the entrypoint for the health command.
+1 -1
View File
@@ -5,7 +5,6 @@ import (
"os" "os"
"strings" "strings"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/glauth/pkg/config" "github.com/owncloud/ocis/glauth/pkg/config"
"github.com/owncloud/ocis/glauth/pkg/flagset" "github.com/owncloud/ocis/glauth/pkg/flagset"
"github.com/owncloud/ocis/glauth/pkg/version" "github.com/owncloud/ocis/glauth/pkg/version"
@@ -14,6 +13,7 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// Execute is the entry point for the ocis-glauth command. // Execute is the entry point for the ocis-glauth command.
+1 -1
View File
@@ -5,7 +5,6 @@ import (
"strings" "strings"
glauthcfg "github.com/glauth/glauth/pkg/config" glauthcfg "github.com/glauth/glauth/pkg/config"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0" accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/glauth/pkg/config" "github.com/owncloud/ocis/glauth/pkg/config"
@@ -17,6 +16,7 @@ import (
pkgcrypto "github.com/owncloud/ocis/ocis-pkg/crypto" pkgcrypto "github.com/owncloud/ocis/ocis-pkg/crypto"
"github.com/owncloud/ocis/ocis-pkg/service/grpc" "github.com/owncloud/ocis/ocis-pkg/service/grpc"
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/urfave/cli/v2"
) )
// Server is the entrypoint for the server command. // Server is the entrypoint for the server command.
+1 -1
View File
@@ -3,10 +3,10 @@ package flagset
import ( import (
"path" "path"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/glauth/pkg/config" "github.com/owncloud/ocis/glauth/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/flags" "github.com/owncloud/ocis/ocis-pkg/flags"
pkgos "github.com/owncloud/ocis/ocis-pkg/os" pkgos "github.com/owncloud/ocis/ocis-pkg/os"
"github.com/urfave/cli/v2"
) )
// RootWithConfig applies cfg to the root flagset // RootWithConfig applies cfg to the root flagset
+2 -2
View File
@@ -16,7 +16,7 @@ require (
github.com/asim/go-micro/plugins/wrapper/breaker/gobreaker/v3 v3.0.0-20210812172626-c7195aae9817 github.com/asim/go-micro/plugins/wrapper/breaker/gobreaker/v3 v3.0.0-20210812172626-c7195aae9817
github.com/asim/go-micro/plugins/wrapper/monitoring/prometheus/v3 v3.0.0-20210812172626-c7195aae9817 github.com/asim/go-micro/plugins/wrapper/monitoring/prometheus/v3 v3.0.0-20210812172626-c7195aae9817
github.com/asim/go-micro/plugins/wrapper/trace/opencensus/v3 v3.0.0-20210812172626-c7195aae9817 github.com/asim/go-micro/plugins/wrapper/trace/opencensus/v3 v3.0.0-20210812172626-c7195aae9817
github.com/asim/go-micro/v3 v3.6.0 github.com/asim/go-micro/v3 v3.6.1-0.20210924081004-8c39b1e1204d
github.com/blevesearch/bleve/v2 v2.1.0 github.com/blevesearch/bleve/v2 v2.1.0
github.com/coreos/go-oidc/v3 v3.0.0 github.com/coreos/go-oidc/v3 v3.0.0
github.com/cs3org/go-cs3apis v0.0.0-20210922150613-cb9e3c99f8de github.com/cs3org/go-cs3apis v0.0.0-20210922150613-cb9e3c99f8de
@@ -38,7 +38,6 @@ require (
github.com/justinas/alice v1.2.0 github.com/justinas/alice v1.2.0
github.com/libregraph/lico v0.34.1-0.20210803054646-b584e0372224 github.com/libregraph/lico v0.34.1-0.20210803054646-b584e0372224
github.com/mennanov/fieldmask-utils v0.4.0 github.com/mennanov/fieldmask-utils v0.4.0
github.com/micro/cli/v2 v2.1.2
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
github.com/nmcclain/asn1-ber v0.0.0-20170104154839-2661553a0484 github.com/nmcclain/asn1-ber v0.0.0-20170104154839-2661553a0484
github.com/nmcclain/ldap v0.0.0-20210720162743-7f8d1e44eeba github.com/nmcclain/ldap v0.0.0-20210720162743-7f8d1e44eeba
@@ -55,6 +54,7 @@ require (
github.com/spf13/viper v1.8.1 github.com/spf13/viper v1.8.1
github.com/stretchr/testify v1.7.0 github.com/stretchr/testify v1.7.0
github.com/thejerf/suture/v4 v4.0.1 github.com/thejerf/suture/v4 v4.0.1
github.com/urfave/cli/v2 v2.3.0
github.com/yaegashi/msgraph.go v0.1.4 github.com/yaegashi/msgraph.go v0.1.4
go.opencensus.io v0.23.0 go.opencensus.io v0.23.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.23.0 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.23.0
+4 -3
View File
@@ -158,8 +158,8 @@ github.com/asim/go-micro/plugins/wrapper/trace/opencensus/v3 v3.0.0-202108121726
github.com/asim/go-micro/v3 v3.5.1/go.mod h1:OJ5DnUQmoEVQTNbKRstR7/krtYJI+QaBe/XeN5MZkqE= github.com/asim/go-micro/v3 v3.5.1/go.mod h1:OJ5DnUQmoEVQTNbKRstR7/krtYJI+QaBe/XeN5MZkqE=
github.com/asim/go-micro/v3 v3.5.2-0.20210629124054-4929a7c16ecc/go.mod h1:cNGIIYQcp0qy+taNYmrBdaIHeqMWHV5ZH/FfQzfOyE8= github.com/asim/go-micro/v3 v3.5.2-0.20210629124054-4929a7c16ecc/go.mod h1:cNGIIYQcp0qy+taNYmrBdaIHeqMWHV5ZH/FfQzfOyE8=
github.com/asim/go-micro/v3 v3.5.2-0.20210630062103-c13bb07171bc/go.mod h1:cNGIIYQcp0qy+taNYmrBdaIHeqMWHV5ZH/FfQzfOyE8= github.com/asim/go-micro/v3 v3.5.2-0.20210630062103-c13bb07171bc/go.mod h1:cNGIIYQcp0qy+taNYmrBdaIHeqMWHV5ZH/FfQzfOyE8=
github.com/asim/go-micro/v3 v3.6.0 h1:I6UVJBpBtWNKCjWf0dRpZznRCW9TR4DXjV4wieyGhK0= github.com/asim/go-micro/v3 v3.6.1-0.20210924081004-8c39b1e1204d h1:EAmpwVkQtiT3yD286sYUs6VqZglabLq/DqfowID83F4=
github.com/asim/go-micro/v3 v3.6.0/go.mod h1:cNGIIYQcp0qy+taNYmrBdaIHeqMWHV5ZH/FfQzfOyE8= github.com/asim/go-micro/v3 v3.6.1-0.20210924081004-8c39b1e1204d/go.mod h1:Vr4N4czAznfz3gPqKUznocbo5l0knZRIpzh5+0Hml7I=
github.com/aws/aws-sdk-go v1.20.1/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.20.1/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.23.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.23.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.34.28/go.mod h1:H7NKnBqNVzoTJpGfLrQkkD+ytBA93eiDYi/+8rV9s48= github.com/aws/aws-sdk-go v1.34.28/go.mod h1:H7NKnBqNVzoTJpGfLrQkkD+ytBA93eiDYi/+8rV9s48=
@@ -768,7 +768,6 @@ github.com/mendsley/gojwk v0.0.0-20141217222730-4d5ec6e58103 h1:Z/i1e+gTZrmcGeZy
github.com/mendsley/gojwk v0.0.0-20141217222730-4d5ec6e58103/go.mod h1:o9YPB5aGP8ob35Vy6+vyq3P3bWe7NQWzf+JLiXCiMaE= github.com/mendsley/gojwk v0.0.0-20141217222730-4d5ec6e58103/go.mod h1:o9YPB5aGP8ob35Vy6+vyq3P3bWe7NQWzf+JLiXCiMaE=
github.com/mennanov/fieldmask-utils v0.4.0 h1:MvXJgV4em1j0u2Aw2Wwd/ES8alZE9vN5FSB1SYiJ6vM= github.com/mennanov/fieldmask-utils v0.4.0 h1:MvXJgV4em1j0u2Aw2Wwd/ES8alZE9vN5FSB1SYiJ6vM=
github.com/mennanov/fieldmask-utils v0.4.0/go.mod h1:lah2lHczE2ff+7SqnNKpB+YzaO7M3h5iNO4LgPTJheM= github.com/mennanov/fieldmask-utils v0.4.0/go.mod h1:lah2lHczE2ff+7SqnNKpB+YzaO7M3h5iNO4LgPTJheM=
github.com/micro/cli/v2 v2.1.2 h1:43J1lChg/rZCC1rvdqZNFSQDrGT7qfMrtp6/ztpIkEM=
github.com/micro/cli/v2 v2.1.2/go.mod h1:EguNh6DAoWKm9nmk+k/Rg0H3lQnDxqzu5x5srOtGtYg= github.com/micro/cli/v2 v2.1.2/go.mod h1:EguNh6DAoWKm9nmk+k/Rg0H3lQnDxqzu5x5srOtGtYg=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/miekg/dns v1.1.15/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.15/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
@@ -1103,7 +1102,9 @@ github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLY
github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/urfave/cli v1.22.4 h1:u7tSpNPPswAFymm8IehJhy4uJMlUuU/GmqSkvJ1InXA=
github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/urfave/cli/v2 v2.3.0 h1:qph92Y649prgesehzOrQjdWyxFOp/QVM+6imKHad91M=
github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8=
+1 -1
View File
@@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/graph-explorer/pkg/config" "github.com/owncloud/ocis/graph-explorer/pkg/config"
"github.com/owncloud/ocis/graph-explorer/pkg/flagset" "github.com/owncloud/ocis/graph-explorer/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// Health is the entrypoint for the health command. // Health is the entrypoint for the health command.
+1 -1
View File
@@ -5,7 +5,6 @@ import (
"os" "os"
"strings" "strings"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/graph-explorer/pkg/config" "github.com/owncloud/ocis/graph-explorer/pkg/config"
"github.com/owncloud/ocis/graph-explorer/pkg/flagset" "github.com/owncloud/ocis/graph-explorer/pkg/flagset"
"github.com/owncloud/ocis/graph-explorer/pkg/version" "github.com/owncloud/ocis/graph-explorer/pkg/version"
@@ -14,6 +13,7 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// Execute is the entry point for the graph-explorer command. // Execute is the entry point for the graph-explorer command.
+1 -1
View File
@@ -4,7 +4,6 @@ import (
"context" "context"
"strings" "strings"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/graph-explorer/pkg/config" "github.com/owncloud/ocis/graph-explorer/pkg/config"
"github.com/owncloud/ocis/graph-explorer/pkg/flagset" "github.com/owncloud/ocis/graph-explorer/pkg/flagset"
@@ -13,6 +12,7 @@ import (
"github.com/owncloud/ocis/graph-explorer/pkg/server/http" "github.com/owncloud/ocis/graph-explorer/pkg/server/http"
"github.com/owncloud/ocis/graph-explorer/pkg/tracing" "github.com/owncloud/ocis/graph-explorer/pkg/tracing"
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/urfave/cli/v2"
) )
// Server is the entrypoint for the server command. // Server is the entrypoint for the server command.
+1 -1
View File
@@ -1,9 +1,9 @@
package flagset package flagset
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/graph-explorer/pkg/config" "github.com/owncloud/ocis/graph-explorer/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/flags" "github.com/owncloud/ocis/ocis-pkg/flags"
"github.com/urfave/cli/v2"
) )
// RootWithConfig applies cfg to the root flagset // RootWithConfig applies cfg to the root flagset
+2 -2
View File
@@ -3,10 +3,10 @@ package http
import ( import (
"context" "context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/graph-explorer/pkg/config" "github.com/owncloud/ocis/graph-explorer/pkg/config"
"github.com/owncloud/ocis/graph-explorer/pkg/metrics" "github.com/owncloud/ocis/graph-explorer/pkg/metrics"
"github.com/owncloud/ocis/ocis-pkg/log"
"github.com/urfave/cli/v2"
) )
// Option defines a single option function. // Option defines a single option function.
+1 -1
View File
@@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/graph/pkg/config" "github.com/owncloud/ocis/graph/pkg/config"
"github.com/owncloud/ocis/graph/pkg/flagset" "github.com/owncloud/ocis/graph/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// Health is the entrypoint for the health command. // Health is the entrypoint for the health command.
+1 -1
View File
@@ -8,13 +8,13 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/graph/pkg/config" "github.com/owncloud/ocis/graph/pkg/config"
"github.com/owncloud/ocis/graph/pkg/flagset" "github.com/owncloud/ocis/graph/pkg/flagset"
"github.com/owncloud/ocis/graph/pkg/version" "github.com/owncloud/ocis/graph/pkg/version"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/urfave/cli/v2"
) )
// Execute is the entry point for the ocis-graph command. // Execute is the entry point for the ocis-graph command.
+1 -1
View File
@@ -4,7 +4,6 @@ import (
"context" "context"
"strings" "strings"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/graph/pkg/config" "github.com/owncloud/ocis/graph/pkg/config"
"github.com/owncloud/ocis/graph/pkg/flagset" "github.com/owncloud/ocis/graph/pkg/flagset"
@@ -13,6 +12,7 @@ import (
"github.com/owncloud/ocis/graph/pkg/server/http" "github.com/owncloud/ocis/graph/pkg/server/http"
"github.com/owncloud/ocis/graph/pkg/tracing" "github.com/owncloud/ocis/graph/pkg/tracing"
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/urfave/cli/v2"
) )
// Server is the entrypoint for the server command. // Server is the entrypoint for the server command.
+1 -1
View File
@@ -1,9 +1,9 @@
package flagset package flagset
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/graph/pkg/config" "github.com/owncloud/ocis/graph/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/flags" "github.com/owncloud/ocis/ocis-pkg/flags"
"github.com/urfave/cli/v2"
) )
// RootWithConfig applies cfg to the root flagset // RootWithConfig applies cfg to the root flagset
+1 -1
View File
@@ -3,10 +3,10 @@ package http
import ( import (
"context" "context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/graph/pkg/config" "github.com/owncloud/ocis/graph/pkg/config"
"github.com/owncloud/ocis/graph/pkg/metrics" "github.com/owncloud/ocis/graph/pkg/metrics"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/urfave/cli/v2"
) )
// Option defines a single option function. // Option defines a single option function.
+1 -1
View File
@@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/idp/pkg/config" "github.com/owncloud/ocis/idp/pkg/config"
"github.com/owncloud/ocis/idp/pkg/flagset" "github.com/owncloud/ocis/idp/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// Health is the entrypoint for the health command. // Health is the entrypoint for the health command.
+1 -1
View File
@@ -5,7 +5,6 @@ import (
"os" "os"
"strings" "strings"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/idp/pkg/config" "github.com/owncloud/ocis/idp/pkg/config"
"github.com/owncloud/ocis/idp/pkg/flagset" "github.com/owncloud/ocis/idp/pkg/flagset"
"github.com/owncloud/ocis/idp/pkg/version" "github.com/owncloud/ocis/idp/pkg/version"
@@ -14,6 +13,7 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// Execute is the entry point for the ocis-idp command. // Execute is the entry point for the ocis-idp command.
+1 -1
View File
@@ -4,7 +4,6 @@ import (
"context" "context"
"strings" "strings"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/idp/pkg/config" "github.com/owncloud/ocis/idp/pkg/config"
"github.com/owncloud/ocis/idp/pkg/flagset" "github.com/owncloud/ocis/idp/pkg/flagset"
@@ -13,6 +12,7 @@ import (
"github.com/owncloud/ocis/idp/pkg/server/http" "github.com/owncloud/ocis/idp/pkg/server/http"
"github.com/owncloud/ocis/idp/pkg/tracing" "github.com/owncloud/ocis/idp/pkg/tracing"
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/urfave/cli/v2"
) )
// Server is the entrypoint for the server command. // Server is the entrypoint for the server command.
+1 -1
View File
@@ -6,10 +6,10 @@ import (
"github.com/owncloud/ocis/ocis-pkg/registry" "github.com/owncloud/ocis/ocis-pkg/registry"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter" tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/idp/pkg/config" "github.com/owncloud/ocis/idp/pkg/config"
"github.com/owncloud/ocis/idp/pkg/flagset" "github.com/owncloud/ocis/idp/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// PrintVersion prints the service versions of all running instances. // PrintVersion prints the service versions of all running instances.
+1 -1
View File
@@ -3,10 +3,10 @@ package flagset
import ( import (
"path" "path"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/idp/pkg/config" "github.com/owncloud/ocis/idp/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/flags" "github.com/owncloud/ocis/ocis-pkg/flags"
pkgos "github.com/owncloud/ocis/ocis-pkg/os" pkgos "github.com/owncloud/ocis/ocis-pkg/os"
"github.com/urfave/cli/v2"
) )
// RootWithConfig applies cfg to the root flagset // RootWithConfig applies cfg to the root flagset
+1 -1
View File
@@ -3,10 +3,10 @@ package http
import ( import (
"context" "context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/idp/pkg/config" "github.com/owncloud/ocis/idp/pkg/config"
"github.com/owncloud/ocis/idp/pkg/metrics" "github.com/owncloud/ocis/idp/pkg/metrics"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/urfave/cli/v2"
) )
// Option defines a single option function. // Option defines a single option function.
+1 -1
View File
@@ -6,9 +6,9 @@ import (
"net" "net"
"time" "time"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
mcfg "github.com/owncloud/ocis/storage/pkg/config" mcfg "github.com/owncloud/ocis/storage/pkg/config"
"github.com/urfave/cli/v2"
) )
func init() { func init() {
+1 -1
View File
@@ -3,8 +3,8 @@ package grpc
import ( import (
"context" "context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/urfave/cli/v2"
) )
// Option defines a single option function. // Option defines a single option function.
+1 -1
View File
@@ -5,8 +5,8 @@ import (
"crypto/tls" "crypto/tls"
"net/http" "net/http"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/urfave/cli/v2"
) )
// Option defines a single option function. // Option defines a single option function.
+2 -1
View File
@@ -1,15 +1,16 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/command" "github.com/owncloud/ocis/accounts/pkg/command"
svcconfig "github.com/owncloud/ocis/accounts/pkg/config" svcconfig "github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset" "github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/ocis/pkg/version" "github.com/owncloud/ocis/ocis/pkg/version"
"github.com/urfave/cli/v2"
) )
// AccountsCommand is the entrypoint for the accounts command. // AccountsCommand is the entrypoint for the accounts command.
+1 -1
View File
@@ -1,6 +1,6 @@
package command package command
import "github.com/micro/cli/v2" import "github.com/urfave/cli/v2"
func handleOriginalAction(c *cli.Context, cmd *cli.Command) error { func handleOriginalAction(c *cli.Context, cmd *cli.Command) error {
+1 -1
View File
@@ -1,13 +1,13 @@
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/glauth/pkg/command" "github.com/owncloud/ocis/glauth/pkg/command"
svcconfig "github.com/owncloud/ocis/glauth/pkg/config" svcconfig "github.com/owncloud/ocis/glauth/pkg/config"
"github.com/owncloud/ocis/glauth/pkg/flagset" "github.com/owncloud/ocis/glauth/pkg/flagset"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/ocis/pkg/version" "github.com/owncloud/ocis/ocis/pkg/version"
"github.com/urfave/cli/v2"
) )
// GLAuthCommand is the entrypoint for the glauth command. // GLAuthCommand is the entrypoint for the glauth command.
+1 -1
View File
@@ -4,10 +4,10 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/flagset" "github.com/owncloud/ocis/ocis/pkg/flagset"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/urfave/cli/v2"
) )
// Health is the entrypoint for the health command. // Health is the entrypoint for the health command.
+1 -1
View File
@@ -1,13 +1,13 @@
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/idp/pkg/command" "github.com/owncloud/ocis/idp/pkg/command"
svcconfig "github.com/owncloud/ocis/idp/pkg/config" svcconfig "github.com/owncloud/ocis/idp/pkg/config"
"github.com/owncloud/ocis/idp/pkg/flagset" "github.com/owncloud/ocis/idp/pkg/flagset"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/ocis/pkg/version" "github.com/owncloud/ocis/ocis/pkg/version"
"github.com/urfave/cli/v2"
) )
// IDPCommand is the entrypoint for the idp command. // IDPCommand is the entrypoint for the idp command.
+1 -1
View File
@@ -7,9 +7,9 @@ import (
"net/rpc" "net/rpc"
"os" "os"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/urfave/cli/v2"
) )
// KillCommand is the entrypoint for the kill command. // KillCommand is the entrypoint for the kill command.
+1 -1
View File
@@ -6,9 +6,9 @@ import (
"net" "net"
"net/rpc" "net/rpc"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/urfave/cli/v2"
) )
// ListCommand is the entrypoint for the list command. // ListCommand is the entrypoint for the list command.
+2 -1
View File
@@ -1,15 +1,16 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/ocis/pkg/version" "github.com/owncloud/ocis/ocis/pkg/version"
"github.com/owncloud/ocis/ocs/pkg/command" "github.com/owncloud/ocis/ocs/pkg/command"
svcconfig "github.com/owncloud/ocis/ocs/pkg/config" svcconfig "github.com/owncloud/ocis/ocs/pkg/config"
"github.com/owncloud/ocis/ocs/pkg/flagset" "github.com/owncloud/ocis/ocs/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// OCSCommand is the entrypoint for the ocs command. // OCSCommand is the entrypoint for the ocs command.
+2 -1
View File
@@ -1,15 +1,16 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/ocis/pkg/version" "github.com/owncloud/ocis/ocis/pkg/version"
"github.com/owncloud/ocis/proxy/pkg/command" "github.com/owncloud/ocis/proxy/pkg/command"
svcconfig "github.com/owncloud/ocis/proxy/pkg/config" svcconfig "github.com/owncloud/ocis/proxy/pkg/config"
"github.com/owncloud/ocis/proxy/pkg/flagset" "github.com/owncloud/ocis/proxy/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// ProxyCommand is the entry point for the proxy command. // ProxyCommand is the entry point for the proxy command.
+1 -1
View File
@@ -6,8 +6,8 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/urfave/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/flagset" "github.com/owncloud/ocis/ocis/pkg/flagset"
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"net/rpc" "net/rpc"
"os" "os"
cli "github.com/micro/cli/v2" cli "github.com/urfave/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
+2 -1
View File
@@ -1,3 +1,4 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
@@ -5,11 +6,11 @@ package command
import ( import (
"strings" "strings"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/flagset" "github.com/owncloud/ocis/ocis/pkg/flagset"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/ocis/pkg/runtime" "github.com/owncloud/ocis/ocis/pkg/runtime"
"github.com/urfave/cli/v2"
) )
// Server is the entrypoint for the server command. // Server is the entrypoint for the server command.
+2 -1
View File
@@ -1,15 +1,16 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/ocis/pkg/version" "github.com/owncloud/ocis/ocis/pkg/version"
"github.com/owncloud/ocis/settings/pkg/command" "github.com/owncloud/ocis/settings/pkg/command"
svcconfig "github.com/owncloud/ocis/settings/pkg/config" svcconfig "github.com/owncloud/ocis/settings/pkg/config"
"github.com/owncloud/ocis/settings/pkg/flagset" "github.com/owncloud/ocis/settings/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// SettingsCommand is the entry point for the settings command. // SettingsCommand is the entry point for the settings command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StorageAppProviderCommand is the entrypoint for the reva-app-provider command. // StorageAppProviderCommand is the entrypoint for the reva-app-provider command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StorageAuthBasicCommand is the entrypoint for the reva-auth-basic command. // StorageAuthBasicCommand is the entrypoint for the reva-auth-basic command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StorageAuthBearerCommand is the entrypoint for the reva-auth-bearer command. // StorageAuthBearerCommand is the entrypoint for the reva-auth-bearer command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StorageFrontendCommand is the entrypoint for the reva-frontend command. // StorageFrontendCommand is the entrypoint for the reva-frontend command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StorageGatewayCommand is the entrypoint for the reva-gateway command. // StorageGatewayCommand is the entrypoint for the reva-gateway command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StorageGroupProviderCommand is the entrypoint for the storage-groupprovider command. // StorageGroupProviderCommand is the entrypoint for the storage-groupprovider command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StorageHomeCommand is the entrypoint for the storage-home command. // StorageHomeCommand is the entrypoint for the storage-home command.
+1 -1
View File
@@ -1,12 +1,12 @@
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StorageMetadataCommand is the entrypoint for the storage-metadata command. // StorageMetadataCommand is the entrypoint for the storage-metadata command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StoragePublicLinkCommand is the entrypoint for the reva-storage-oc command. // StoragePublicLinkCommand is the entrypoint for the reva-storage-oc command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StorageSharingCommand is the entrypoint for the reva-sharing command. // StorageSharingCommand is the entrypoint for the reva-sharing command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StorageUserProviderCommand is the entrypoint for the storage-userprovider command. // StorageUserProviderCommand is the entrypoint for the storage-userprovider command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/storage/pkg/command" "github.com/owncloud/ocis/storage/pkg/command"
svcconfig "github.com/owncloud/ocis/storage/pkg/config" svcconfig "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StorageUsersCommand is the entrypoint for the storage-users command. // StorageUsersCommand is the entrypoint for the storage-users command.
+2 -1
View File
@@ -1,15 +1,16 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/ocis/pkg/version" "github.com/owncloud/ocis/ocis/pkg/version"
"github.com/owncloud/ocis/store/pkg/command" "github.com/owncloud/ocis/store/pkg/command"
svcconfig "github.com/owncloud/ocis/store/pkg/config" svcconfig "github.com/owncloud/ocis/store/pkg/config"
"github.com/owncloud/ocis/store/pkg/flagset" "github.com/owncloud/ocis/store/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// StoreCommand is the entrypoint for the ocs command. // StoreCommand is the entrypoint for the ocs command.
+2 -1
View File
@@ -1,14 +1,15 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/ocis/pkg/version" "github.com/owncloud/ocis/ocis/pkg/version"
"github.com/owncloud/ocis/thumbnails/pkg/command" "github.com/owncloud/ocis/thumbnails/pkg/command"
"github.com/owncloud/ocis/thumbnails/pkg/flagset" "github.com/owncloud/ocis/thumbnails/pkg/flagset"
"github.com/urfave/cli/v2"
svcconfig "github.com/owncloud/ocis/thumbnails/pkg/config" svcconfig "github.com/owncloud/ocis/thumbnails/pkg/config"
) )
+1 -1
View File
@@ -5,11 +5,11 @@ import (
"os" "os"
mreg "github.com/asim/go-micro/v3/registry" mreg "github.com/asim/go-micro/v3/registry"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter" tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/registry" "github.com/owncloud/ocis/ocis-pkg/registry"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/urfave/cli/v2"
) )
// VersionCommand is the entrypoint for the version command. // VersionCommand is the entrypoint for the version command.
+1 -1
View File
@@ -1,12 +1,12 @@
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/web/pkg/command" "github.com/owncloud/ocis/web/pkg/command"
svcconfig "github.com/owncloud/ocis/web/pkg/config" svcconfig "github.com/owncloud/ocis/web/pkg/config"
"github.com/owncloud/ocis/web/pkg/flagset" "github.com/owncloud/ocis/web/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// WebCommand is the entrypoint for the web command. // WebCommand is the entrypoint for the web command.
+2 -1
View File
@@ -1,15 +1,16 @@
//go:build !simple
// +build !simple // +build !simple
package command package command
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis/pkg/register" "github.com/owncloud/ocis/ocis/pkg/register"
"github.com/owncloud/ocis/ocis/pkg/version" "github.com/owncloud/ocis/ocis/pkg/version"
"github.com/owncloud/ocis/webdav/pkg/command" "github.com/owncloud/ocis/webdav/pkg/command"
svcconfig "github.com/owncloud/ocis/webdav/pkg/config" svcconfig "github.com/owncloud/ocis/webdav/pkg/config"
"github.com/owncloud/ocis/webdav/pkg/flagset" "github.com/owncloud/ocis/webdav/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// WebDAVCommand is the entrypoint for the webdav command. // WebDAVCommand is the entrypoint for the webdav command.
+1 -1
View File
@@ -1,8 +1,8 @@
package flagset package flagset
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/urfave/cli/v2"
) )
// RootWithConfig applies cfg to the root flagset // RootWithConfig applies cfg to the root flagset
+1 -1
View File
@@ -1,8 +1,8 @@
package register package register
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/config" "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/urfave/cli/v2"
) )
var ( var (
+1 -1
View File
@@ -1,8 +1,8 @@
package runtime package runtime
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/urfave/cli/v2"
) )
// Options is a runtime option // Options is a runtime option
+1 -1
View File
@@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocs/pkg/config" "github.com/owncloud/ocis/ocs/pkg/config"
"github.com/owncloud/ocis/ocs/pkg/flagset" "github.com/owncloud/ocis/ocs/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// Health is the entrypoint for the health command. // Health is the entrypoint for the health command.
+1 -1
View File
@@ -7,13 +7,13 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/micro/cli/v2"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocs/pkg/config" "github.com/owncloud/ocis/ocs/pkg/config"
"github.com/owncloud/ocis/ocs/pkg/version" "github.com/owncloud/ocis/ocs/pkg/version"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// Execute is the entry point for the ocis-ocs command. // Execute is the entry point for the ocis-ocs command.
+1 -1
View File
@@ -8,13 +8,13 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/ocs/pkg/config" "github.com/owncloud/ocis/ocs/pkg/config"
"github.com/owncloud/ocis/ocs/pkg/flagset" "github.com/owncloud/ocis/ocs/pkg/flagset"
"github.com/owncloud/ocis/ocs/pkg/metrics" "github.com/owncloud/ocis/ocs/pkg/metrics"
"github.com/owncloud/ocis/ocs/pkg/server/debug" "github.com/owncloud/ocis/ocs/pkg/server/debug"
"github.com/owncloud/ocis/ocs/pkg/server/http" "github.com/owncloud/ocis/ocs/pkg/server/http"
"github.com/urfave/cli/v2"
) )
// Server is the entrypoint for the server command. // Server is the entrypoint for the server command.
+1 -1
View File
@@ -6,10 +6,10 @@ import (
"github.com/owncloud/ocis/ocis-pkg/registry" "github.com/owncloud/ocis/ocis-pkg/registry"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter" tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/ocs/pkg/config" "github.com/owncloud/ocis/ocs/pkg/config"
"github.com/owncloud/ocis/ocs/pkg/flagset" "github.com/owncloud/ocis/ocs/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// PrintVersion prints the service versions of all running instances. // PrintVersion prints the service versions of all running instances.
+1 -1
View File
@@ -1,9 +1,9 @@
package flagset package flagset
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/flags" "github.com/owncloud/ocis/ocis-pkg/flags"
"github.com/owncloud/ocis/ocs/pkg/config" "github.com/owncloud/ocis/ocs/pkg/config"
"github.com/urfave/cli/v2"
) )
// HealthWithConfig applies cfg to the root flagset // HealthWithConfig applies cfg to the root flagset
+2 -2
View File
@@ -3,10 +3,10 @@ package http
import ( import (
"context" "context"
"github.com/micro/cli/v2" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocs/pkg/config" "github.com/owncloud/ocis/ocs/pkg/config"
"github.com/owncloud/ocis/ocs/pkg/metrics" "github.com/owncloud/ocis/ocs/pkg/metrics"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/urfave/cli/v2"
) )
// Option defines a single option function. // Option defines a single option function.
+1 -1
View File
@@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/proxy/pkg/config" "github.com/owncloud/ocis/proxy/pkg/config"
"github.com/owncloud/ocis/proxy/pkg/flagset" "github.com/owncloud/ocis/proxy/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// Health is the entrypoint for the health command. // Health is the entrypoint for the health command.
+1 -1
View File
@@ -7,7 +7,6 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/micro/cli/v2"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/proxy/pkg/config" "github.com/owncloud/ocis/proxy/pkg/config"
@@ -15,6 +14,7 @@ import (
"github.com/owncloud/ocis/proxy/pkg/version" "github.com/owncloud/ocis/proxy/pkg/version"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// Execute is the entry point for the ocis-proxy command. // Execute is the entry point for the ocis-proxy command.
+1 -1
View File
@@ -12,7 +12,6 @@ import (
"github.com/cs3org/reva/pkg/token/manager/jwt" "github.com/cs3org/reva/pkg/token/manager/jwt"
chimiddleware "github.com/go-chi/chi/v5/middleware" chimiddleware "github.com/go-chi/chi/v5/middleware"
"github.com/justinas/alice" "github.com/justinas/alice"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
acc "github.com/owncloud/ocis/accounts/pkg/proto/v0" acc "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/ocis-pkg/conversions" "github.com/owncloud/ocis/ocis-pkg/conversions"
@@ -32,6 +31,7 @@ import (
"github.com/owncloud/ocis/proxy/pkg/user/backend" "github.com/owncloud/ocis/proxy/pkg/user/backend"
settings "github.com/owncloud/ocis/settings/pkg/proto/v0" settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
storepb "github.com/owncloud/ocis/store/pkg/proto/v0" storepb "github.com/owncloud/ocis/store/pkg/proto/v0"
"github.com/urfave/cli/v2"
"golang.org/x/oauth2" "golang.org/x/oauth2"
) )
+1 -1
View File
@@ -6,10 +6,10 @@ import (
"github.com/owncloud/ocis/ocis-pkg/registry" "github.com/owncloud/ocis/ocis-pkg/registry"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter" tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/proxy/pkg/config" "github.com/owncloud/ocis/proxy/pkg/config"
"github.com/owncloud/ocis/proxy/pkg/flagset" "github.com/owncloud/ocis/proxy/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// PrintVersion prints the service versions of all running instances. // PrintVersion prints the service versions of all running instances.
+1 -1
View File
@@ -3,10 +3,10 @@ package flagset
import ( import (
"path" "path"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/flags" "github.com/owncloud/ocis/ocis-pkg/flags"
pkgos "github.com/owncloud/ocis/ocis-pkg/os" pkgos "github.com/owncloud/ocis/ocis-pkg/os"
"github.com/owncloud/ocis/proxy/pkg/config" "github.com/owncloud/ocis/proxy/pkg/config"
"github.com/urfave/cli/v2"
) )
// RootWithConfig applies cfg to the root flagset // RootWithConfig applies cfg to the root flagset
+1 -1
View File
@@ -5,10 +5,10 @@ import (
"net/http" "net/http"
"github.com/justinas/alice" "github.com/justinas/alice"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/proxy/pkg/config" "github.com/owncloud/ocis/proxy/pkg/config"
"github.com/owncloud/ocis/proxy/pkg/metrics" "github.com/owncloud/ocis/proxy/pkg/metrics"
"github.com/urfave/cli/v2"
) )
// Option defines a single option function. // Option defines a single option function.
+1 -1
View File
@@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/settings/pkg/config" "github.com/owncloud/ocis/settings/pkg/config"
"github.com/owncloud/ocis/settings/pkg/flagset" "github.com/owncloud/ocis/settings/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// Health is the entrypoint for the health command. // Health is the entrypoint for the health command.
+1 -1
View File
@@ -7,7 +7,6 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/micro/cli/v2"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/settings/pkg/config" "github.com/owncloud/ocis/settings/pkg/config"
@@ -15,6 +14,7 @@ import (
"github.com/owncloud/ocis/settings/pkg/version" "github.com/owncloud/ocis/settings/pkg/version"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// Execute is the entry point for the ocis-settings command. // Execute is the entry point for the ocis-settings command.
+1 -1
View File
@@ -4,7 +4,6 @@ import (
"context" "context"
"strings" "strings"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/owncloud/ocis/settings/pkg/config" "github.com/owncloud/ocis/settings/pkg/config"
@@ -14,6 +13,7 @@ import (
"github.com/owncloud/ocis/settings/pkg/server/grpc" "github.com/owncloud/ocis/settings/pkg/server/grpc"
"github.com/owncloud/ocis/settings/pkg/server/http" "github.com/owncloud/ocis/settings/pkg/server/http"
"github.com/owncloud/ocis/settings/pkg/tracing" "github.com/owncloud/ocis/settings/pkg/tracing"
"github.com/urfave/cli/v2"
) )
// Server is the entrypoint for the server command. // Server is the entrypoint for the server command.
+1 -1
View File
@@ -6,10 +6,10 @@ import (
"github.com/owncloud/ocis/ocis-pkg/registry" "github.com/owncloud/ocis/ocis-pkg/registry"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter" tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/settings/pkg/config" "github.com/owncloud/ocis/settings/pkg/config"
"github.com/owncloud/ocis/settings/pkg/flagset" "github.com/owncloud/ocis/settings/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// PrintVersion prints the service versions of all running instances. // PrintVersion prints the service versions of all running instances.
+1 -1
View File
@@ -1,9 +1,9 @@
package flagset package flagset
import ( import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/flags" "github.com/owncloud/ocis/ocis-pkg/flags"
"github.com/owncloud/ocis/settings/pkg/config" "github.com/owncloud/ocis/settings/pkg/config"
"github.com/urfave/cli/v2"
) )
// RootWithConfig applies cfg to the root flagset // RootWithConfig applies cfg to the root flagset
+1 -1
View File
@@ -3,10 +3,10 @@ package grpc
import ( import (
"context" "context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/settings/pkg/config" "github.com/owncloud/ocis/settings/pkg/config"
"github.com/owncloud/ocis/settings/pkg/metrics" "github.com/owncloud/ocis/settings/pkg/metrics"
"github.com/urfave/cli/v2"
) )
// Option defines a single option function. // Option defines a single option function.
+1 -1
View File
@@ -3,10 +3,10 @@ package http
import ( import (
"context" "context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/settings/pkg/config" "github.com/owncloud/ocis/settings/pkg/config"
"github.com/owncloud/ocis/settings/pkg/metrics" "github.com/owncloud/ocis/settings/pkg/metrics"
"github.com/urfave/cli/v2"
) )
// Option defines a single option function. // Option defines a single option function.
+1 -1
View File
@@ -8,7 +8,6 @@ import (
"github.com/cs3org/reva/cmd/revad/runtime" "github.com/cs3org/reva/cmd/revad/runtime"
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
@@ -17,6 +16,7 @@ import (
"github.com/owncloud/ocis/storage/pkg/server/debug" "github.com/owncloud/ocis/storage/pkg/server/debug"
"github.com/owncloud/ocis/storage/pkg/tracing" "github.com/owncloud/ocis/storage/pkg/tracing"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// AppProvider is the entrypoint for the app provider command. // AppProvider is the entrypoint for the app provider command.
+1 -1
View File
@@ -9,7 +9,6 @@ import (
"github.com/cs3org/reva/cmd/revad/runtime" "github.com/cs3org/reva/cmd/revad/runtime"
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
@@ -18,6 +17,7 @@ import (
"github.com/owncloud/ocis/storage/pkg/server/debug" "github.com/owncloud/ocis/storage/pkg/server/debug"
"github.com/owncloud/ocis/storage/pkg/tracing" "github.com/owncloud/ocis/storage/pkg/tracing"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// AuthBasic is the entrypoint for the auth-basic command. // AuthBasic is the entrypoint for the auth-basic command.
+1 -1
View File
@@ -8,7 +8,6 @@ import (
"github.com/cs3org/reva/cmd/revad/runtime" "github.com/cs3org/reva/cmd/revad/runtime"
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
@@ -17,6 +16,7 @@ import (
"github.com/owncloud/ocis/storage/pkg/server/debug" "github.com/owncloud/ocis/storage/pkg/server/debug"
"github.com/owncloud/ocis/storage/pkg/tracing" "github.com/owncloud/ocis/storage/pkg/tracing"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// AuthBearer is the entrypoint for the auth-bearer command. // AuthBearer is the entrypoint for the auth-bearer command.
+1 -1
View File
@@ -11,7 +11,6 @@ import (
"github.com/cs3org/reva/cmd/revad/runtime" "github.com/cs3org/reva/cmd/revad/runtime"
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/conversions" "github.com/owncloud/ocis/ocis-pkg/conversions"
@@ -21,6 +20,7 @@ import (
"github.com/owncloud/ocis/storage/pkg/server/debug" "github.com/owncloud/ocis/storage/pkg/server/debug"
"github.com/owncloud/ocis/storage/pkg/tracing" "github.com/owncloud/ocis/storage/pkg/tracing"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// Frontend is the entrypoint for the frontend command. // Frontend is the entrypoint for the frontend command.
+1 -1
View File
@@ -15,7 +15,6 @@ import (
"github.com/cs3org/reva/cmd/revad/runtime" "github.com/cs3org/reva/cmd/revad/runtime"
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
@@ -24,6 +23,7 @@ import (
"github.com/owncloud/ocis/storage/pkg/server/debug" "github.com/owncloud/ocis/storage/pkg/server/debug"
"github.com/owncloud/ocis/storage/pkg/service/external" "github.com/owncloud/ocis/storage/pkg/service/external"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// Gateway is the entrypoint for the gateway command. // Gateway is the entrypoint for the gateway command.
+1 -1
View File
@@ -9,7 +9,6 @@ import (
"github.com/cs3org/reva/cmd/revad/runtime" "github.com/cs3org/reva/cmd/revad/runtime"
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/sync" "github.com/owncloud/ocis/ocis-pkg/sync"
@@ -18,6 +17,7 @@ import (
"github.com/owncloud/ocis/storage/pkg/server/debug" "github.com/owncloud/ocis/storage/pkg/server/debug"
"github.com/owncloud/ocis/storage/pkg/tracing" "github.com/owncloud/ocis/storage/pkg/tracing"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// Groups is the entrypoint for the sharing command. // Groups is the entrypoint for the sharing command.
+1 -1
View File
@@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/storage/pkg/config" "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/urfave/cli/v2"
) )
// Health is the entrypoint for the health command. // Health is the entrypoint for the health command.
+1 -1
View File
@@ -4,12 +4,12 @@ import (
"os" "os"
"strings" "strings"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/log" "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/storage/pkg/config" "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/owncloud/ocis/storage/pkg/version" "github.com/owncloud/ocis/storage/pkg/version"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/urfave/cli/v2"
) )
// Execute is the entry point for the storage command. // Execute is the entry point for the storage command.
+1 -1
View File
@@ -13,13 +13,13 @@ import (
"github.com/cs3org/reva/cmd/revad/runtime" "github.com/cs3org/reva/cmd/revad/runtime"
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/storage/pkg/config" "github.com/owncloud/ocis/storage/pkg/config"
"github.com/owncloud/ocis/storage/pkg/flagset" "github.com/owncloud/ocis/storage/pkg/flagset"
"github.com/owncloud/ocis/storage/pkg/server/debug" "github.com/owncloud/ocis/storage/pkg/server/debug"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// Sharing is the entrypoint for the sharing command. // Sharing is the entrypoint for the sharing command.
+1 -1
View File
@@ -10,7 +10,6 @@ import (
"github.com/cs3org/reva/cmd/revad/runtime" "github.com/cs3org/reva/cmd/revad/runtime"
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/storage/pkg/config" "github.com/owncloud/ocis/storage/pkg/config"
@@ -18,6 +17,7 @@ import (
"github.com/owncloud/ocis/storage/pkg/server/debug" "github.com/owncloud/ocis/storage/pkg/server/debug"
"github.com/owncloud/ocis/storage/pkg/tracing" "github.com/owncloud/ocis/storage/pkg/tracing"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// StorageHome is the entrypoint for the storage-home command. // StorageHome is the entrypoint for the storage-home command.
+1 -1
View File
@@ -10,7 +10,6 @@ import (
"github.com/cs3org/reva/cmd/revad/runtime" "github.com/cs3org/reva/cmd/revad/runtime"
"github.com/gofrs/uuid" "github.com/gofrs/uuid"
"github.com/micro/cli/v2"
"github.com/oklog/run" "github.com/oklog/run"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config" ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/storage/pkg/config" "github.com/owncloud/ocis/storage/pkg/config"
@@ -19,6 +18,7 @@ import (
"github.com/owncloud/ocis/storage/pkg/service/external" "github.com/owncloud/ocis/storage/pkg/service/external"
"github.com/owncloud/ocis/storage/pkg/tracing" "github.com/owncloud/ocis/storage/pkg/tracing"
"github.com/thejerf/suture/v4" "github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
) )
// StorageMetadata the entrypoint for the storage-storage-metadata command. // StorageMetadata the entrypoint for the storage-storage-metadata command.

Some files were not shown because too many files have changed in this diff Show More