Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
klim
command
|
|
|
internal
|
|
|
audit
Package audit provides shared security audit logic used by both the CLI (klim audit) and TUI (Doctor→Audit sub-tab).
|
Package audit provides shared security audit logic used by both the CLI (klim audit) and TUI (Doctor→Audit sub-tab). |
|
catalog
Package catalog manages fetching, caching, and diffing the tool marketplace catalog from GitHub.
|
Package catalog manages fetching, caching, and diffing the tool marketplace catalog from GitHub. |
|
checkpoint
Package checkpoint captures named snapshots of the installed toolchain so they can be rolled back to later.
|
Package checkpoint captures named snapshots of the installed toolchain so they can be rolled back to later. |
|
compliance
Package compliance validates installed tools against a company policy file.
|
Package compliance validates installed tools against a company policy file. |
|
config
Package config manages the klim configuration file (config.yaml).
|
Package config manages the klim configuration file (config.yaml). |
|
custompacks
Package custompacks manages user-created pack definitions stored in ~/.klim/marketplace/custom-packs.yaml.
|
Package custompacks manages user-created pack definitions stored in ~/.klim/marketplace/custom-packs.yaml. |
|
doctor
Package doctor runs environment health checks and reports diagnostic issues.
|
Package doctor runs environment health checks and reports diagnostic issues. |
|
envid
Package envid produces a portable, paste-friendly fingerprint of a klim-managed environment ("Env ID").
|
Package envid produces a portable, paste-friendly fingerprint of a klim-managed environment ("Env ID"). |
|
favorites
Package favorites manages the user's favorites list stored in ~/.klim/favorites/favorites.yaml.
|
Package favorites manages the user's favorites list stored in ~/.klim/favorites/favorites.yaml. |
|
fileutil
Package fileutil provides shared file I/O primitives for klim: atomic writes, YAML serialization, and directory helpers.
|
Package fileutil provides shared file I/O primitives for klim: atomic writes, YAML serialization, and directory helpers. |
|
generate
Package generate produces CI/container configuration files from .klim.yaml tool requirements and marketplace package definitions.
|
Package generate produces CI/container configuration files from .klim.yaml tool requirements and marketplace package definitions. |
|
githubfmt
Package githubfmt formats GitHub project metadata (star counts, push dates, repo URLs) for display.
|
Package githubfmt formats GitHub project metadata (star counts, push dates, repo URLs) for display. |
|
logging
Package logging sets up structured logging for klim using log/slog.
|
Package logging sets up structured logging for klim using log/slog. |
|
manifest
Package manifest defines the shared YAML schema for tool export/import manifests.
|
Package manifest defines the shared YAML schema for tool export/import manifests. |
|
marketplace/assemble
command
assemble-marketplace reads individual tool and pack YAML files from marketplace/tools/ and marketplace/packs/, and assembles them into a single marketplace.yaml matching the format the CLI expects.
|
assemble-marketplace reads individual tool and pack YAML files from marketplace/tools/ and marketplace/packs/, and assembles them into a single marketplace.yaml matching the format the CLI expects. |
|
marketplace/livecheck
Package livecheck contains the opt-in integration test that verifies each package ID declared in marketplace/tools/*.yaml resolves against the corresponding native package manager (winget, choco, scoop, brew, apt, snap, npm).
|
Package livecheck contains the opt-in integration test that verifies each package ID declared in marketplace/tools/*.yaml resolves against the corresponding native package manager (winget, choco, scoop, brew, apt, snap, npm). |
|
marketplace/validate
command
validate-marketplace validates individual tool and pack YAML files in the marketplace/ directory.
|
validate-marketplace validates individual tool and pack YAML files in the marketplace/ directory. |
|
onboard
Package onboard provides role-based tool recommendation logic shared between the CLI wizard and TUI onboard sub-tab.
|
Package onboard provides role-based tool recommendation logic shared between the CLI wizard and TUI onboard sub-tab. |
|
pathbackup
Package pathbackup captures the value of $PATH (and the persistent User PATH on Windows) before klim applies any PATH-modifying fix, and produces shell-specific restore commands so the user can roll back without leaving the TUI.
|
Package pathbackup captures the value of $PATH (and the persistent User PATH on Windows) before klim applies any PATH-modifying fix, and produces shell-specific restore commands so the user can roll back without leaving the TUI. |
|
pathconflict
Package pathconflict derives a structured view of PATH-shadowing and version-conflict situations from an already-scanned tool slice.
|
Package pathconflict derives a structured view of PATH-shadowing and version-conflict situations from an already-scanned tool slice. |
|
paths
Package paths provides a single source of truth for all klim configuration and data file paths.
|
Package paths provides a single source of truth for all klim configuration and data file paths. |
|
plan
Package plan computes a "Terraform plan" for developer machines: given the current state of installed tools and a desired target (latest versions, a manifest, or an explicit tool list), it returns a structured Plan describing every change that would be made, along with risk warnings, disk-impact estimates, and a rough wall-clock time estimate.
|
Package plan computes a "Terraform plan" for developer machines: given the current state of installed tools and a desired target (latest versions, a manifest, or an explicit tool list), it returns a structured Plan describing every change that would be made, along with risk warnings, disk-impact estimates, and a rough wall-clock time estimate. |
|
postcheck
Package postcheck verifies that a klim apply left the developer machine in a working state.
|
Package postcheck verifies that a klim apply left the developer machine in a working state. |
|
progress
Package progress provides a simple CLI spinner for non-interactive commands.
|
Package progress provides a simple CLI spinner for non-interactive commands. |
|
recommend
Package recommend ranks not-installed tools by overlap with the user's currently installed set, so both the TUI's "For You" sub-tab and the web UI's /foryou page can suggest related tools using the same algorithm.
|
Package recommend ranks not-installed tools by overlap with the user's currently installed set, so both the TUI's "For You" sub-tab and the web UI's /foryou page can suggest related tools using the same algorithm. |
|
scancache
Package scancache persists the result of a full tool scan (PATH discovery plus package-manager version resolution) to a YAML file on disk.
|
Package scancache persists the result of a full tool scan (PATH discovery plus package-manager version resolution) to a YAML file on disk. |
|
score
Package score computes a 0–100 environment health score by combining tool freshness, doctor diagnostics, audit findings, compliance status, and source management into a single metric.
|
Package score computes a 0–100 environment health score by combining tool freshness, doctor diagnostics, audit findings, compliance status, and source management into a single metric. |
|
search
Package search provides fuzzy search over the tool marketplace catalog.
|
Package search provides fuzzy search over the tool marketplace catalog. |
|
security
Package security computes a per-tool security verdict by aggregating signals from internal/audit, internal/vuln, internal/compliance, and the tool's installed source.
|
Package security computes a per-tool security verdict by aggregating signals from internal/audit, internal/vuln, internal/compliance, and the tool's installed source. |
|
service
Package service provides the ToolService — a high-level composition root that wires together tool catalog loading, PATH scanning, and version resolution into reusable pipelines.
|
Package service provides the ToolService — a high-level composition root that wires together tool catalog loading, PATH scanning, and version resolution into reusable pipelines. |
|
share
Package share provides compact token encoding for sharing tool lists via chat messages.
|
Package share provides compact token encoding for sharing tool lists via chat messages. |
|
snapshot
Package snapshot manages environment snapshots and named profiles.
|
Package snapshot manages environment snapshots and named profiles. |
|
teamfile
Package teamfile handles .klim.yaml team manifest files — parsing, discovery (walking parent dirs), and checking installed tools against version constraints.
|
Package teamfile handles .klim.yaml team manifest files — parsing, discovery (walking parent dirs), and checking installed tools against version constraints. |
|
textwrap
Package textwrap provides shared word-wrapping that respects terminal display width.
|
Package textwrap provides shared word-wrapping that respects terminal display width. |
|
trail
Package trail records every change to the local toolchain as a content-addressed environment snapshot, exposing git-style history inspection (capture, log, show, diff, prune).
|
Package trail records every change to the local toolchain as a content-addressed environment snapshot, exposing git-style history inspection (capture, log, show, diff, prune). |
|
vuln
Package vuln looks up known vulnerabilities (CVEs / GHSAs) for the installed tools.
|
Package vuln looks up known vulnerabilities (CVEs / GHSAs) for the installed tools. |
|
web
Package web serves klim's local browser UI.
|
Package web serves klim's local browser UI. |
Click to show internal directories.
Click to hide internal directories.






