{"modulePath":"github.com/sergiught/openfga-cli","version":"v0.271.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/sergiught/openfga-cli/cmd/ofga","name":"main","synopsis":"Command ofga is a modern CLI and TUI for OpenFGA.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/agentmode","name":"agentmode","synopsis":"Package agentmode decides whether the CLI is being driven by a coding agent and should default to compact, prompt-free, colorless machine output.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/agentskill","name":"agentskill","synopsis":"Package agentskill embeds the SKILL.md that teaches a coding agent to drive ofga.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/apilog","name":"apilog","synopsis":"Package apilog captures OpenFGA HTTP traffic.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/atomicfile","name":"atomicfile","synopsis":"Package atomicfile writes a file by staging it next to its destination and renaming it into place only once the caller is satisfied with the contents.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/cli","name":"cli","synopsis":"Package cli holds the shared dependencies threaded through every command: the logger, the loaded config, and the global flag overrides.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/client","name":"client","synopsis":"Package client constructs a configured go-openfga client from resolved config.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/clierr","name":"clierr","synopsis":"Package clierr centralizes how command errors map to user-facing messages and process exit codes, so main can stay a thin shell and every command surfaces failures consistently.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/cmdmeta","name":"cmdmeta","synopsis":"Package cmdmeta attaches machine-readable metadata to cobra commands and flags, so tooling (the command catalog) can describe the CLI without parsing help text.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command","name":"command","synopsis":"Package command defines the shared Command abstraction used by every ofga command, mirroring the structure of task-pilot-cli: each command exposes its cobra command, registers its sub-commands, and implements its run logic.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/agent","name":"agent","synopsis":"Package agent implements `ofga agent`: material for coding agents that drive ofga.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/api","name":"api","synopsis":"Package api implements `ofga api`: send a raw request to the OpenFGA API using the active profile's connection and authentication.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/assertions","name":"assertions","synopsis":"Package assertions implements `ofga assertions`: read and write the assertion test-suite attached to an authorization model, and run it.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/base","name":"base","synopsis":"Package base provides the root `ofga` command: persistent flags, the help banner, and registration of every top-level sub-command.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/configcmd","name":"configcmd","synopsis":"Package configcmd implements `ofga config`: inspect where ofga's configuration lives and what it resolves to.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/docs","name":"docs","synopsis":"Package docs implements `ofga docs`: search and read the OpenFGA documentation on openfga.dev from the terminal.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/mapping","name":"mapping","synopsis":"Package mapping implements the `ofga mappings` command group, which authors openfga/mapper mapping files.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/mapping/tui","name":"tui","synopsis":"Package tui holds the `ofga mappings` editors as components.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/model","name":"model","synopsis":"Package model implements `ofga model`: write, list, inspect, and visualize authorization models (including a colored relation graph).","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/playground","name":"playground","synopsis":"Package playground implements the interactive `ofga` TUI: a full-screen, Crush-style shell for exploring a store — picking models, browsing tuples, running live checks, and visualizing the authorization model as a graph.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/profiles","name":"profiles","synopsis":"Package profiles implements `ofga profiles`: manage named connection profiles — list, switch, inspect, create, edit and remove them.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/query","name":"query","synopsis":"Package query implements `ofga query`: the read-side authorization questions — check, batch-check, expand, list-objects and list-users.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/store","name":"store","synopsis":"Package store implements `ofga stores`: create, list, inspect and delete OpenFGA stores.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/command/tuple","name":"tuple","synopsis":"Package tuple implements `ofga tuples`: write, delete, read relationship tuples and follow the changelog.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/config","name":"config","synopsis":"Package config loads and persists ofga configuration: a set of named connection profiles (contexts) plus the name of the active one.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/configtest","name":"configtest","synopsis":"Package configtest isolates the CLI's on-disk config so a test never reads or writes the developer's real one.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/docsearch","name":"docsearch","synopsis":"Package docsearch is a client for the openfga.dev documentation: the Mintlify MCP search endpoint and the markdown rendering of each docs page.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/dsl","name":"dsl","synopsis":"Package dsl provides syntax highlighting and syntax-error diagnostics for OpenFGA DSL text, built on the openfga/language ANTLR lexer and parser.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/fga","name":"fga","synopsis":"Package fga holds OpenFGA domain helpers shared by the CLI commands and the TUI: parsing tuple shorthand and turning an authorization model into a graph.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/filelock","name":"filelock","synopsis":"Package filelock holds an exclusive cross-process lock on a file, released when the returned func is called (or the process exits).","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/mapping","name":"mapping","synopsis":"Package mapping builds, renders and previews openfga/mapper mapping documents.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/mapping/auth0","name":"auth0","synopsis":"Package auth0 carries a catalog of Auth0 Events event types and an example payload for each, embedded so the `ofga mappings` workspace can preview a rule without network access.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/modeldiff","name":"modeldiff","synopsis":"Package modeldiff compares two authorization models and classifies the differences between their shapes.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/modeltest","name":"modeltest","synopsis":"Package modeltest runs authorization-model tests declared by an ofga workspace (an ofga.yaml manifest and its *.test.yaml files).","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/optimize","name":"optimize","synopsis":"Package optimize analyses authorization models and proposes equivalence-preserving rewrites.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/optimize/bench","name":"bench","synopsis":"Package bench synthesizes tuples and checks from an authorization model and benchmarks the checks against a before and an after model on a counting embedded OpenFGA server.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/optimize/benchfmt","name":"benchfmt","synopsis":"Package benchfmt renders a bench.Result as the human-readable benchmark report shared by the CLI and the playground.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/output","name":"output","synopsis":"Package output renders command results either as a styled table/summary for humans or as indented JSON for machines (--json).","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/outputschema","name":"outputschema","synopsis":"Package outputschema names the published JSON Schemas that describe what each command prints under --json.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/outputschema/outputschematest","name":"outputschematest","synopsis":"Package outputschematest validates command output against the committed JSON Schema files, so each command package can prove its schema describes exactly what --json prints.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/prompt","name":"prompt","synopsis":"Package prompt provides consistent confirmation gates for destructive commands: interactive y/N (or type-to-confirm) on a terminal, and a required --force flag when running non-interactively so scripts fail safe.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/readlimit","name":"readlimit","synopsis":"Package readlimit provides bounded reads for user-controlled files, stdin, and HTTP bodies.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/sandbox","name":"sandbox","synopsis":"Package sandbox runs the playground on the CLI's embedded OpenFGA server, persisted in a SQLite file.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/style","name":"style","synopsis":"Package style centralizes the lipgloss palette and reusable styles.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/theme","name":"theme","synopsis":"Package theme defines named color palettes for the CLI and TUI.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/ui/extedit","name":"extedit","synopsis":"Package extedit resolves the user's terminal editor and builds the command that opens a file in it, so every TUI that hands a file to $EDITOR picks the same editor and parses the variable the same way.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/ui/field","name":"field","synopsis":"Package field provides a minimal themed form: labeled text inputs with an accent bar on focus, inline validation, tab-cycled focus, and enter-to-submit.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/ui/icons","name":"icons","synopsis":"Package icons resolves the process-wide glyph set: auto (the default, which promotes to Nerd Font only on a positive signal), an explicit Nerd Font rung, a universal Unicode fallback, or off for decorative glyphs.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/ui/list","name":"list","synopsis":"Package list wraps bubbles/list with a task-pilot-style delegate: a thick left-border selection accent, title+description rows, and built-in filtering.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/ui/logo","name":"logo","synopsis":"Package logo renders the OPENFGA block wordmark, in the spirit of charmbracelet/crush's stylized title.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/ui/picker","name":"picker","synopsis":"Package picker is a small vertical single-select list with per-row descriptions.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/ui/shell","name":"shell","synopsis":"Package shell renders the Crush-style playground frame: a left sidebar (gradient logo + context + nav + status footer), a main content pane, and a bottom status bar, composited flat on a lipgloss canvas with no painted panel backgrounds — structure comes from headers and rules.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/ui/toast","name":"toast","synopsis":"Package toast renders transient bottom-right status chips that auto-expire.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/ui/vimedit","name":"vimedit","synopsis":"Package vimedit is a vim-style line-buffer editing engine for the playground model editor.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/internal/version","name":"version","synopsis":"Package version holds build information, injected at release time via -ldflags.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/tools/docgen","name":"main","synopsis":"Command docgen generates the per-command MDX reference pages for the docs site (docs/site/src/content/docs/reference) from the live cobra tree, so the published reference can never drift from the binary.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/tools/genassets","name":"main","synopsis":"Command genassets generates the shell completions and man pages that ship inside the release archives and OS packages.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/tools/licensegen","name":"main","synopsis":"Command licensegen generates THIRD_PARTY_LICENSES, the attribution bundle shipped alongside every ofga artifact.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/tools/samplestores","name":"main","synopsis":"Command samplestores converts upstream openfga/sample-stores store files into ofga model-test workspaces.","isRedistributable":true},{"path":"github.com/sergiught/openfga-cli/tools/schemagen","name":"main","synopsis":"Command schemagen generates the JSON Schemas that describe what each command prints under --json (docs/site/public/schemas/output).","isRedistributable":true}],"total":60}}
