• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ory / keto / 14309294778

07 Apr 2025 12:33PM UTC coverage: 51.121% (-26.7%) from 77.849%
14309294778

push

github

ory-bot
autogen: update license overview

3854 of 7539 relevant lines covered (51.12%)

0.57 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

23.53
/cmd/relationtuple/root.go
1
// Copyright © 2023 Ory Corp
2
// SPDX-License-Identifier: Apache-2.0
3

4
package relationtuple
5

6
import (
7
        "github.com/spf13/cobra"
8
        "github.com/spf13/pflag"
9

10
        "github.com/ory/keto/cmd/client"
11

12
        "github.com/ory/x/cmdx"
13
)
14

15
func newRelationCmd() *cobra.Command {
×
16
        return &cobra.Command{
×
17
                Use:   "relation-tuple",
×
18
                Short: "Read and manipulate relationships",
×
19
        }
×
20
}
×
21

22
func RegisterCommandsRecursive(parent *cobra.Command) {
×
23
        relationCmd := newRelationCmd()
×
24

×
25
        parent.AddCommand(relationCmd)
×
26

×
27
        relationCmd.AddCommand(NewGetCmd(), NewCreateCmd(), NewDeleteCmd(), NewDeleteAllCmd(), NewParseCmd())
×
28
}
×
29

30
func registerPackageFlags(flags *pflag.FlagSet) {
1✔
31
        client.RegisterRemoteURLFlags(flags)
1✔
32
        cmdx.RegisterFormatFlags(flags)
1✔
33
}
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc