internal/

directory
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT

Directories

Path Synopsis
Package adf parses, validates, normalizes, and renders Atlassian Document Format — the JSON rich-text schema behind Jira descriptions, comments, and worklog notes.
Package adf parses, validates, normalizes, and renders Atlassian Document Format — the JSON rich-text schema behind Jira descriptions, comments, and worklog notes.
Package agentguides embeds and loads the agent workflow guides that docent serves through `jira agent` and `jira guide`.
Package agentguides embeds and loads the agent workflow guides that docent serves through `jira agent` and `jira guide`.
Package browser builds Jira web URLs and opens them in the OS default browser.
Package browser builds Jira web URLs and opens them in the OS default browser.
Package cache is a tiny per-profile JSON file store for Jira metadata (labels, epics, projects, …) that's cheap to look up — used by the `jira cache <resource>` commands and (eventually) by Cobra shell completion functions.
Package cache is a tiny per-profile JSON file store for Jira metadata (labels, epics, projects, …) that's cheap to look up — used by the `jira cache <resource>` commands and (eventually) by Cobra shell completion functions.
cli
Package cli is the cobra-free presentation and error layer the command packages share.
Package cli is the cobra-free presentation and error layer the command packages share.
adfcmd
Package adfcmd implements the `jira adf` command group: standalone Markdown→ADF conversion and linting, plus the explicitly-lossy ADF→Markdown projection.
Package adfcmd implements the `jira adf` command group: standalone Markdown→ADF conversion and linting, plus the explicitly-lossy ADF→Markdown projection.
adfmode
Package adfmode resolves the strict vs best-effort ADF mode for a given CLI invocation, applying both the precedence ladder and per-path defaults.
Package adfmode resolves the strict vs best-effort ADF mode for a given CLI invocation, applying both the precedence ladder and per-path defaults.
agent
Package agent hosts the registry commands mounted under docent's `jira agent` group — adf-matrix and fieldtypes, the machine-readable ADF and custom-field support registries.
Package agent hosts the registry commands mounted under docent's `jira agent` group — adf-matrix and fieldtypes, the machine-readable ADF and custom-field support registries.
alias
Package alias hosts the `jira alias` command group for managing the user-defined command aliases stored in the config file.
Package alias hosts the `jira alias` command group for managing the user-defined command aliases stored in the config file.
auth
Package auth hosts the `jira auth` command group for managing Jira credentials and the active profile.
Package auth hosts the `jira auth` command group for managing Jira credentials and the active profile.
boards
Package boards hosts the `jira boards` command tree.
Package boards hosts the `jira boards` command tree.
boardscope
Package boardscope resolves the `--board NAME` / `--board-id N` flag pair against the local board cache and renders the result into JQL clauses and envelope data.
Package boardscope resolves the `--board NAME` / `--board-id N` flag pair against the local board cache and renders the result into JQL clauses and envelope data.
cache
Package cache hosts the `jira cache` command group: per-resource primers that fetch Jira metadata into the per-profile cache, plus housekeeping (clear, refresh).
Package cache hosts the `jira cache` command group: per-resource primers that fetch Jira metadata into the per-profile cache, plus housekeeping (clear, refresh).
cache/registry
Package registry is the single source of truth for the cacheable Jira metadata resources: their identity, default freshness window, and fetch.
Package registry is the single source of truth for the cacheable Jira metadata resources: their identity, default freshness window, and fetch.
cmdutil
Package cmdutil holds the cross-cutting helper layer shared by every jira-cli command: envelope writers, client/profile accessors, output-mode resolution, mutation gates, the credential-warning sink, and small generic value helpers.
Package cmdutil holds the cross-cutting helper layer shared by every jira-cli command: envelope writers, client/profile accessors, output-mode resolution, mutation gates, the credential-warning sink, and small generic value helpers.
completion
Package completion hosts the `jira completion` command and the dynamic shell-completion emitters.
Package completion hosts the `jira completion` command and the dynamic shell-completion emitters.
config
Package config implements the `jira config` cobra command tree, which manages the local configuration file, profiles, and theme settings.
Package config implements the `jira config` cobra command tree, which manages the local configuration file, profiles, and theme settings.
epic
Package epic hosts the `jira epic` command group: list, board, add, and remove for epic-to-issue membership.
Package epic hosts the `jira epic` command group: list, board, add, and remove for epic-to-issue membership.
issue
Package issue hosts the `jira issue` command group — the CLI's largest verb — covering the issue lifecycle (create, view, list, edit, clone, move, delete, transition) and its sub-resources: comments, attachments, links, watchers, and rank.
Package issue hosts the `jira issue` command group — the CLI's largest verb — covering the issue lifecycle (create, view, list, edit, clone, move, delete, transition) and its sub-resources: comments, attachments, links, watchers, and rank.
jql
Package jql hosts the `jira jql` command group for building, validating, and referencing JQL queries — the local query-construction helpers that complement the search commands.
Package jql hosts the `jira jql` command group for building, validating, and referencing JQL queries — the local query-construction helpers that complement the search commands.
me
Package me hosts the `jira me` command, a short alias for the identity portion of `jira auth whoami` that prints the active profile's Jira identity.
Package me hosts the `jira me` command, a short alias for the identity portion of `jira auth whoami` that prints the active profile's Jira identity.
releasenotes
Package releasenotes implements `jira release-notes`, which prints jira-cli's own changelog — embedded in the binary — so a user can see what changed in the tool without opening GitHub or the docs site.
Package releasenotes implements `jira release-notes`, which prints jira-cli's own changelog — embedded in the binary — so a user can see what changed in the tool without opening GitHub or the docs site.
root
Package root assembles the CLI's top-level cobra command: the persistent flags, help renderer, PersistentPreRunE (config, logging, output-mode resolution), and the subcommand tree, plus the completion-preflight seam and Execute.
Package root assembles the CLI's top-level cobra command: the persistent flags, help renderer, PersistentPreRunE (config, logging, output-mode resolution), and the subcommand tree, plus the completion-preflight seam and Execute.
runtime
Package runtime is the dependency boundary between the binary shell in cmd/jira and the command implementations.
Package runtime is the dependency boundary between the binary shell in cmd/jira and the command implementations.
schema
Package schema builds the machine-readable command and output schemas that `jira agent schema` emits and the docs generator reads.
Package schema builds the machine-readable command and output schemas that `jira agent schema` emits and the docs generator reads.
search
Package search hosts the `jira search` command group for running Jira searches — ad-hoc JQL and the saved named queries from the config's queries path.
Package search hosts the `jira search` command group for running Jira searches — ad-hoc JQL and the saved named queries from the config's queries path.
startup
Package startup parses jira's global flags and first subcommand out of the raw argv before cobra runs.
Package startup parses jira's global flags and first subcommand out of the raw argv before cobra runs.
stdin
Package stdin is the ONLY place in the source tree allowed to read os.Stdin.
Package stdin is the ONLY place in the source tree allowed to read os.Stdin.
tui
Package tui wires the `jira tui` command to the section-based dashboard.
Package tui wires the `jira tui` command to the section-based dashboard.
update
Package update implements the `jira update` cobra command, which self-updates a release-archive binary in place and points Scoop and go-install binaries at the command their channel manages updates with.
Package update implements the `jira update` cobra command, which self-updates a release-archive binary in place and points Scoop and go-install binaries at the command their channel manages updates with.
user
Package user hosts the `jira user` command group.
Package user hosts the `jira user` command group.
version
Package version implements the `jira version` cobra command: a bare version string for humans (and tooling that probes `<binary> version`), a labeled metadata block behind --detailed, and the structured envelope in machine modes.
Package version implements the `jira version` cobra command: a bare version string for humans (and tooling that probes `<binary> version`), a labeled metadata block behind --detailed, and the structured envelope in machine modes.
worklog
Package worklog hosts the `jira worklog` command group for adding and listing work logged against an issue.
Package worklog hosts the `jira worklog` command group for adding and listing work logged against an issue.
Package config is the layered configuration store for jira-cli: a koanf v2 loader over defaults, a TOML file, and a JIRA_* environment overlay (last wins), plus the profile model and the credential backends profiles point at.
Package config is the layered configuration store for jira-cli: a koanf v2 loader over defaults, a TOML file, and a JIRA_* environment overlay (last wins), plus the profile model and the credential backends profiles point at.
Package docs renders a Cobra command tree to byte-stable Markdown for the jira-cli documentation site.
Package docs renders a Cobra command tree to byte-stable Markdown for the jira-cli documentation site.
Package editor spawns the user's external editor over a temporary Markdown file and reads the edited result back.
Package editor spawns the user's external editor over a temporary Markdown file and reads the edited result back.
Package envelope holds the typed per-operation Output structs that envelope `data` payloads are built from, and derives the published JSON Schemas from those same types — one declaration, so emission and schema cannot diverge.
Package envelope holds the typed per-operation Output structs that envelope `data` payloads are built from, and derives the published JSON Schemas from those same types — one declaration, so emission and schema cannot diverge.
Package errtax is the CLI's error taxonomy: the stable error types and codes the JSON envelope emits, and the registry that binds every code to its classification.
Package errtax is the CLI's error taxonomy: the stable error types and codes the JSON envelope emits, and the registry that binds every code to its classification.
Package issuekey parses and expands issue-key expressions into canonical Jira keys.
Package issuekey parses and expands issue-key expressions into canonical Jira keys.
Package jira is the Jira Cloud REST client and its typed services (issues, search, boards, comments, links, attachments, worklogs, users, rank).
Package jira is the Jira Cloud REST client and its typed services (issues, search, boards, comments, links, attachments, worklogs, users, rank).
customfield
Package customfield is the Jira custom-field type registry.
Package customfield is the Jira custom-field type registry.
Package jql builds and composes Jira Query Language strings from structured inputs.
Package jql builds and composes Jira Query Language strings from structured inputs.
Package pager shows a rendered document one screen at a time on the user's terminal.
Package pager shows a rendered document one screen at a time on the user's terminal.
Package pill is the single source of the status-badge palette: fixed truecolor fills keyed by Jira's status category (matching the Jira UI's own colors) and a luma-computed contrasting text color.
Package pill is the single source of the status-badge palette: fixed truecolor fills keyed by Jira's status category (matching the Jira UI's own colors) and a luma-computed contrasting text color.
Package pipeline implements the deterministic 5-stage validation pipeline that gates every Jira mutation submission.
Package pipeline implements the deterministic 5-stage validation pipeline that gates every Jira mutation submission.
Package refresh models the cadence of a periodic poll: the current interval, pause and resume, and additive backoff when the server reports a rate limit.
Package refresh models the cadence of a periodic poll: the current interval, pause and resume, and additive backoff when the server reports a rate limit.
Package selfupdate resolves which install channel delivered the running binary and builds the matching gechr/clive updater for it.
Package selfupdate resolves which install channel delivered the running binary and builds the matching gechr/clive updater for it.
tui
Package tui is the umbrella for the `jira tui` full-screen dashboard (alpha — the headless commands are the stable surface).
Package tui is the umbrella for the `jira tui` full-screen dashboard (alpha — the headless commands are the stable surface).
components/action
Package action provides a single controller that collects input for the Jira verbs (transition, comment, assign, labels, worklog, edit) through one Mode-dispatched component, instead of a bespoke flow per action.
Package action provides a single controller that collects input for the Jira verbs (transition, comment, assign, labels, worklog, edit) through one Mode-dispatched component, instead of a bespoke flow per action.
components/activity
Package activity is the observational record of user-facing mutations for the `jira tui` dashboard: it feeds the footer's status slot (the most-recent operation and an in-flight count) and the scrollable operation-log overlay (every recorded mutation, newest-first).
Package activity is the observational record of user-facing mutations for the `jira tui` dashboard: it feeds the footer's status slot (the most-recent operation and an in-flight count) and the scrollable operation-log overlay (every recorded mutation, newest-first).
components/carousel
Package carousel renders a horizontal strip of labels with one active, and wraps navigation around the ends.
Package carousel renders a horizontal strip of labels with one active, and wraps navigation around the ends.
components/dialog
Package dialog is a domain-free stack of modal overlays for a Bubble Tea application.
Package dialog is a domain-free stack of modal overlays for a Bubble Tea application.
components/form
Package form is the modal text-input controller for overlay forms: an ordered set of single- and multi-line fields with one focus ring, a dirty-discard guard (esc on edited content asks yes/no instead of dropping it), a submit/cancel/editor event contract with a consumed-key signal, and a pluggable autocomplete seam (a trigger rune such as @ starts a query; suggestions are fetched asynchronously as commands).
Package form is the modal text-input controller for overlay forms: an ordered set of single- and multi-line fields with one focus ring, a dirty-discard guard (esc on edited content asks yes/no instead of dropping it), a submit/cancel/editor event contract with a consumed-key signal, and a pluggable autocomplete seam (a trigger rune such as @ starts a query; suggestions are fetched asynchronously as commands).
components/input
Package input is the TUI's shared text-entry substrate: thin themed wrappers over bubbles/textinput and textarea, plus the external-editor hop.
Package input is the TUI's shared text-entry substrate: thin themed wrappers over bubbles/textinput and textarea, plus the external-editor hop.
components/keybind
Package keybind is the name-indexed key-rebinding registry: a map of stable lower-case names to bubbles key.Binding pointers, with config-driven overrides and enumeration.
Package keybind is the name-indexed key-rebinding registry: a map of stable lower-case names to bubbles key.Binding pointers, with config-driven overrides and enumeration.
components/listviewport
Package listviewport is a scrollable, single-selection list of pre-rendered rows.
Package listviewport is a scrollable, single-selection list of pre-rendered rows.
components/markdown
Package markdown renders GFM (produced by internal/adf) for the TUI and the release-notes plain view through glamour, with a style derived from the active clib theme so issue bodies and comments match the rest of the dashboard.
Package markdown renders GFM (produced by internal/adf) for the TUI and the release-notes plain view through glamour, with a style derived from the active clib theme so issue bodies and comments match the rest of the dashboard.
components/palette
Package palette is a fuzzy, type-to-filter command list for a command-palette dialog.
Package palette is a fuzzy, type-to-filter command list for a command-palette dialog.
components/picker
Package picker is a vertical, type-to-filter select list for modal choices (workflow transitions today; assignees, labels and facet values next).
Package picker is a vertical, type-to-filter select list for modal choices (workflow transitions today; assignees, labels and facet values next).
components/pill
Package pill renders a labeled cycle selector — "type ‹ Task ›" — a compact one-of chooser for a form field that needs no text area.
Package pill renders a labeled cycle selector — "type ‹ Task ›" — a compact one-of chooser for a form field that needs no text area.
components/suggest
Package suggest is a session-scoped, in-memory TTL cache for slow keyed lookups behind the TUI create form — issue-type lists per project and the assignee/label suggestion queries that would otherwise re-hit Jira on every keystroke or reopen.
Package suggest is a session-scoped, in-memory TTL cache for slow keyed lookups behind the TUI create form — issue-type lists per project and the assignee/label suggestion queries that would otherwise re-hit Jira on every keystroke or reopen.
components/task
Package task is the generation-tracked async work manager for a Bubble Tea app: named scopes group work, every start bumps the scope's monotonic generation, and a finished result is accepted only while its generation is still the latest — so a superseded fetch (the user refreshed again, changed filters, moved on) is dropped instead of overwriting newer state.
Package task is the generation-tracked async work manager for a Bubble Tea app: named scopes group work, every start bumps the scope's monotonic generation, and a finished result is accepted only while its generation is still the latest — so a superseded fetch (the user refreshed again, changed filters, moved on) is dropped instead of overwriting newer state.
components/titlebox
Package titlebox draws a rounded box with its title embedded in the top border — "╭ title ─────╮" — around a body the caller has already rendered.
Package titlebox draws a rounded box with its title embedded in the top border — "╭ title ─────╮" — around a body the caller has already rendered.
core
Package core defines the contracts every TUI view is built on: the Section interface, the shared ProgramContext, the async task manager, the section registry and the typed message set.
Package core defines the contracts every TUI view is built on: the Section interface, the shared ProgramContext, the async task manager, the section registry and the typed message set.
icons
Package icons is the TUI's glyph table: one Set per icon mode (Nerd Font or plain Unicode) so both stay complete, selected by the tui.icons config key.
Package icons is the TUI's glyph table: one Set per icon mode (Nerd Font or plain Unicode) so both stay complete, selected by the tui.icons config key.
keys
Package keys holds the global key map for the section-based TUI and the config-driven rebinding that lets users override any binding by name.
Package keys holds the global key map for the section-based TUI and the config-driven rebinding that lets users override any binding by name.
sections/issues
Package issues is the triage-home section: the personal queue a reviewer works down.
Package issues is the triage-home section: the personal queue a reviewer works down.
sections/settings
Package settings is the dashboard's configuration view: it shows where the active config came from and what it resolved to, offers a manual reload, and watches the file (on the shared refresh heartbeat) so edits hot-apply without restarting the TUI.
Package settings is the dashboard's configuration view: it shows where the active config came from and what it resolved to, offers a manual reload, and watches the file (on the shared refresh heartbeat) so edits hot-apply without restarting the TUI.
theme
Package theme defines lipgloss styles shared across the Jira TUI.
Package theme defines lipgloss styles shared across the Jira TUI.
Package version resolves build metadata for the running binary.
Package version resolves build metadata for the running binary.

Jump to

Keyboard shortcuts

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