model

package
v0.267.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package model implements `ofga model`: write, list, inspect, and visualize authorization models (including a colored relation graph).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

Command is the `model` command group.

func New

func New(cli *cli.CLI) *Command

New builds the model command group.

func (*Command) Command

func (c *Command) Command() *cobra.Command

Command returns the cobra command.

func (*Command) RegisterSubCommands

func (c *Command) RegisterSubCommands()

RegisterSubCommands wires the model sub-commands.

Jump to

Keyboard shortcuts

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