internal/

directory
v1.2.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package catalog fetches and caches the api2convert conversions catalog (the supported categories, targets and their option schemas), so discovery and completion are fast and tolerant of transient offline moments.
Package catalog fetches and caches the api2convert conversions catalog (the supported categories, targets and their option schemas), so discovery and completion are fast and tolerant of transient offline moments.
Package cli builds the cobra command tree and owns process-level error reporting and exit codes.
Package cli builds the cobra command tree and owns process-level error reporting and exit codes.
Package client constructs the api2convert SDK client from resolved config.
Package client constructs the api2convert SDK client from resolved config.
Package clierr maps the SDK's typed error hierarchy to friendly, actionable CLI messages and stable exit codes, and renders a machine-readable error envelope for --json.
Package clierr maps the SDK's typed error hierarchy to friendly, actionable CLI messages and stable exit codes, and renders a machine-readable error envelope for --json.
Package config loads, resolves and persists CLI configuration.
Package config loads, resolves and persists CLI configuration.
Package output renders command results either as friendly human text or as stable machine JSON, from a single view value per command.
Package output renders command results either as friendly human text or as stable machine JSON, from a single view value per command.
Package run orchestrates conversions on top of the SDK: single-file convert (with output-path resolution and an atomic conflict policy), the batch worker pool, and the folder watcher.
Package run orchestrates conversions on top of the SDK: single-file convert (with output-path resolution and an atomic conflict policy), the batch worker pool, and the folder watcher.
Package selfupdate replaces the running binary with the latest GitHub release after verifying its SHA-256 checksum.
Package selfupdate replaces the running binary with the latest GitHub release after verifying its SHA-256 checksum.
Package tasks defines the high-level conversion verbs (compress, merge, thumbnail, resize) as thin presets over the conversion pipeline.
Package tasks defines the high-level conversion verbs (compress, merge, thumbnail, resize) as thin presets over the conversion pipeline.
Package ui handles terminal detection, colored output gating, spinners and interactive prompts.
Package ui handles terminal detection, colored output gating, spinners and interactive prompts.

Jump to

Keyboard shortcuts

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