cmd

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2023 License: Apache-2.0 Imports: 53 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Context added in v0.5.0

func Context(fileContext file.Context) (cont *base.Context, err error)

Context is a function that takes a file context and returns a base context and an error.

func DisplayCoverageInfo added in v0.4.0

func DisplayCoverageInfo(schemaCoverageInfo cov.SchemaCoverageInfo)

DisplayCoverageInfo - Display the schema coverage information

func NewCoverageCommand added in v0.4.0

func NewCoverageCommand() *cobra.Command

NewCoverageCommand - creates a new coverage command

func NewMigrateCommand added in v0.3.1

func NewMigrateCommand() *cobra.Command

NewMigrateCommand - Creates new migrate command

func NewMigrateDownCommand added in v0.3.1

func NewMigrateDownCommand() *cobra.Command

NewMigrateDownCommand - Creates new migrate down command

func NewMigrateStatusCommand added in v0.3.1

func NewMigrateStatusCommand() *cobra.Command

NewMigrateStatusCommand - Creates new migrate status command

func NewMigrateUpCommand added in v0.3.1

func NewMigrateUpCommand() *cobra.Command

NewMigrateUpCommand - Creates new migrate up command

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand - Creates new root command

func NewServeCommand

func NewServeCommand() *cobra.Command

NewServeCommand returns a new Cobra command that can be used to run the "permify serve" command. The command takes no arguments and runs the serve() function to start the Permify service. The command has a short description of what it does.

func NewValidateCommand

func NewValidateCommand() *cobra.Command

NewValidateCommand - creates a new validate command

func NewVersionCommand added in v0.3.5

func NewVersionCommand() *cobra.Command

NewVersionCommand - Creates new Version command

Types

type ErrList added in v0.3.8

type ErrList struct {
	Errors []string
}

ErrList - error list

func (*ErrList) Add added in v0.3.8

func (l *ErrList) Add(message string)

Add - add error to error list

func (*ErrList) Print added in v0.3.8

func (l *ErrList) Print()

Print - print error list

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL