Directories
¶
| Path | Synopsis |
|---|---|
|
Command bench measures the ytrack agent skill on real models: each case runs `claude -p` in a throwaway project with the skill installed and a fake ytrack first on PATH, then grades the ytrack calls, the Bash commands and the final answer.
|
Command bench measures the ytrack agent skill on real models: each case runs `claude -p` in a throwaway project with the skill installed and a fake ytrack first on PATH, then grades the ytrack calls, the Bash commands and the final answer. |
|
cmd
|
|
|
ytrack
command
Command ytrack is an unofficial command-line interface for JetBrains YouTrack.
|
Command ytrack is an unofficial command-line interface for JetBrains YouTrack. |
|
internal
|
|
|
auth
Package auth stores and resolves YouTrack tokens.
|
Package auth stores and resolves YouTrack tokens. |
|
browser
Package browser opens URLs in the user's web browser.
|
Package browser opens URLs in the user's web browser. |
|
build
Package build exposes version information injected at link time.
|
Package build exposes version information injected at link time. |
|
clierr
Package clierr defines the error kinds commands return and the stable exit codes they map to.
|
Package clierr defines the error kinds commands return and the stable exit codes they map to. |
|
cmdtest
Package cmdtest runs ytrack commands in-process against fake IO, a temp config dir, go-keyring's mock and a fake YouTrack server.
|
Package cmdtest runs ytrack commands in-process against fake IO, a temp config dir, go-keyring's mock and a fake YouTrack server. |
|
config
Package config reads and writes ytrack's configuration directory:
|
Package config reads and writes ytrack's configuration directory: |
|
editor
Package editor opens text in the user's editor, as git and gh do.
|
Package editor opens text in the user's editor, as git and gh do. |
|
hosts
Package hosts normalizes YouTrack service URLs.
|
Package hosts normalizes YouTrack service URLs. |
|
iostreams
Package iostreams bundles stdin/stdout/stderr with the terminal facts commands need: whether each stream is a TTY, whether color is on, and the terminal width.
|
Package iostreams bundles stdin/stdout/stderr with the terminal facts commands need: whether each stream is a TTY, whether color is on, and the terminal width. |
|
output
Package output renders command results: JSON (optionally filtered by jq or a Go template), and tables.
|
Package output renders command results: JSON (optionally filtered by jq or a Go template), and tables. |
|
prompter
Package prompter asks the user for input on the terminal.
|
Package prompter asks the user for input on the terminal. |
|
skill
Package skill renders and installs the agent skill embedded in the binary (skills/ytrack), stamped with the binary's version so an installed skill always describes the ytrack that installed it.
|
Package skill renders and installs the agent skill embedded in the binary (skills/ytrack), stamped with the binary's version so an installed skill always describes the ytrack that installed it. |
|
update
Package update finds ytrack releases on GitHub, compares versions, keeps the once-a-day update check state, and tells which package manager owns an installed binary.
|
Package update finds ytrack releases on GitHub, compares versions, keeps the once-a-day update check state, and tells which package manager owns an installed binary. |
|
upgrade
Package upgrade downloads a ytrack release, verifies it and replaces the running binary with it.
|
Package upgrade downloads a ytrack release, verifies it and replaces the running binary with it. |
|
upgrade/upgradetest
Package upgradetest provides Sigstore bundles signed by sigstore-go's virtual Sigstore and a fake GitHub release server for tests.
|
Package upgradetest provides Sigstore bundles signed by sigstore-go's virtual Sigstore and a fake GitHub release server for tests. |
|
worktime
Package worktime parses the durations and dates of YouTrack work items.
|
Package worktime parses the durations and dates of YouTrack work items. |
|
youtrack/adapter
Package adapter is the typed YouTrack API surface commands use.
|
Package adapter is the typed YouTrack API surface commands use. |
|
youtrack/adapter/customfields
Package customfields decodes YouTrack's polymorphic issue custom fields into ytrack's own values.
|
Package customfields decodes YouTrack's polymorphic issue custom fields into ytrack's own values. |
|
youtrack/transport
Package transport is ytrack's HTTP layer for the YouTrack REST API: it authenticates requests, identifies the client, logs redacted debug traces and turns error responses into *APIError.
|
Package transport is ytrack's HTTP layer for the YouTrack REST API: it authenticates requests, identifies the client, logs redacted debug traces and turns error responses into *APIError. |
|
pkg
|
|
|
cmd/api
Package api implements `ytrack api`, the raw REST escape hatch, modelled on `gh api` from github.com/cli/cli (MIT).
|
Package api implements `ytrack api`, the raw REST escape hatch, modelled on `gh api` from github.com/cli/cli (MIT). |
|
cmd/auth
Package auth implements `ytrack auth`.
|
Package auth implements `ytrack auth`. |
|
cmd/auth/login
Package login implements `ytrack auth login`.
|
Package login implements `ytrack auth login`. |
|
cmd/auth/logout
Package logout implements `ytrack auth logout`.
|
Package logout implements `ytrack auth logout`. |
|
cmd/auth/paths
Package paths implements `ytrack auth paths`.
|
Package paths implements `ytrack auth paths`. |
|
cmd/auth/status
Package status implements `ytrack auth status`.
|
Package status implements `ytrack auth status`. |
|
cmd/auth/switch
Package authswitch implements `ytrack auth switch`.
|
Package authswitch implements `ytrack auth switch`. |
|
cmd/auth/token
Package token implements `ytrack auth token`.
|
Package token implements `ytrack auth token`. |
|
cmd/factory
Package factory builds the production cmdutil.Factory.
|
Package factory builds the production cmdutil.Factory. |
|
cmd/issue
Package issue implements `ytrack issue`.
|
Package issue implements `ytrack issue`. |
|
cmd/issue/attach
Package attach implements `ytrack issue attach`.
|
Package attach implements `ytrack issue attach`. |
|
cmd/issue/attachments
Package attachments implements `ytrack issue attachments`.
|
Package attachments implements `ytrack issue attachments`. |
|
cmd/issue/command
Package command implements `ytrack issue command`.
|
Package command implements `ytrack issue command`. |
|
cmd/issue/comment
Package comment implements `ytrack issue comment`.
|
Package comment implements `ytrack issue comment`. |
|
cmd/issue/create
Package create implements `ytrack issue create`.
|
Package create implements `ytrack issue create`. |
|
cmd/issue/download
Package download implements `ytrack issue download`.
|
Package download implements `ytrack issue download`. |
|
cmd/issue/edit
Package edit implements `ytrack issue edit`.
|
Package edit implements `ytrack issue edit`. |
|
cmd/issue/link
Package link implements `ytrack issue link`, and the link type lookup and JSON output that `ytrack issue unlink` shares.
|
Package link implements `ytrack issue link`, and the link type lookup and JSON output that `ytrack issue unlink` shares. |
|
cmd/issue/list
Package list implements `ytrack issue list`.
|
Package list implements `ytrack issue list`. |
|
cmd/issue/shared
Package shared holds what the issue commands have in common: issue arguments, the --json field contract and issue URLs.
|
Package shared holds what the issue commands have in common: issue arguments, the --json field contract and issue URLs. |
|
cmd/issue/unlink
Package unlink implements `ytrack issue unlink`.
|
Package unlink implements `ytrack issue unlink`. |
|
cmd/issue/view
Package view implements `ytrack issue view`.
|
Package view implements `ytrack issue view`. |
|
cmd/root
Package root assembles the ytrack command tree and runs it.
|
Package root assembles the ytrack command tree and runs it. |
|
cmd/skill
Package skill implements `ytrack skill`: the agent skill embedded in the binary, printed or installed for a coding agent.
|
Package skill implements `ytrack skill`: the agent skill embedded in the binary, printed or installed for a coding agent. |
|
cmd/upgrade
Package upgrade implements `ytrack upgrade`.
|
Package upgrade implements `ytrack upgrade`. |
|
cmd/version
Package version implements `ytrack version`.
|
Package version implements `ytrack version`. |
|
cmd/workitem
Package workitem implements `ytrack work-item`.
|
Package workitem implements `ytrack work-item`. |
|
cmd/workitem/add
Package add implements `ytrack work-item add`.
|
Package add implements `ytrack work-item add`. |
|
cmd/workitem/delete
Package delete implements `ytrack work-item delete`.
|
Package delete implements `ytrack work-item delete`. |
|
cmd/workitem/edit
Package edit implements `ytrack work-item edit`.
|
Package edit implements `ytrack work-item edit`. |
|
cmd/workitem/list
Package list implements `ytrack work-item list`.
|
Package list implements `ytrack work-item list`. |
|
cmd/workitem/shared
Package shared holds what the work-item commands have in common: the --json field contract, work item type resolution and work dates.
|
Package shared holds what the work-item commands have in common: the --json field contract, work item type resolution and work dates. |
|
cmdutil
Package cmdutil holds what commands share: the dependency Factory, argument validators and the --json/--jq/--template flags.
|
Package cmdutil holds what commands share: the dependency Factory, argument validators and the --json/--jq/--template flags. |
|
Package scripts holds the tests of the repository's install scripts, install.sh (Linux, macOS) and install.ps1 (Windows), which run them against a fake release mirror.
|
Package scripts holds the tests of the repository's install scripts, install.sh (Linux, macOS) and install.ps1 (Windows), which run them against a fake release mirror. |
|
Package skills embeds the agent skills shipped in this directory, in the skills.sh layout (skills/<name>/SKILL.md), so the binary installs the skill that matches its own version.
|
Package skills embeds the agent skills shipped in this directory, in the skills.sh layout (skills/<name>/SKILL.md), so the binary installs the skill that matches its own version. |
|
test
|
|
|
integration
Package integration holds ytrack's opt-in real-instance suite: it drives the built ytrack binary against a personal YouTrack instance when YTRACK_IT=1 is set, and is skipped otherwise.
|
Package integration holds ytrack's opt-in real-instance suite: it drives the built ytrack binary against a personal YouTrack instance when YTRACK_IT=1 is set, and is skipped otherwise. |
Click to show internal directories.
Click to hide internal directories.