Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
opusclip
command
Command opusclip is the entrypoint: it builds the root command, executes it, and maps errors to process exit codes (product spec §9).
|
Command opusclip is the entrypoint: it builds the root command, executes it, and maps errors to process exit codes (product spec §9). |
|
internal
|
|
|
api
Package api is the OpusClip REST adapter: typed models and a thin Client over the documented v0.1 endpoints (clip projects + exportable clips), plus a Raw escape hatch.
|
Package api is the OpusClip REST adapter: typed models and a thin Client over the documented v0.1 endpoints (clip projects + exportable clips), plus a Raw escape hatch. |
|
auth
Package auth owns credential modeling and storage.
|
Package auth owns credential modeling and storage. |
|
cmd/api
Package api implements `opusclip api` — the raw authenticated request escape hatch (like `gh api` / `stripe get`).
|
Package api implements `opusclip api` — the raw authenticated request escape hatch (like `gh api` / `stripe get`). |
|
cmd/auth
Package auth implements the `opusclip auth` command group: login (API key), logout, status, switch, and token.
|
Package auth implements the `opusclip auth` command group: login (API key), logout, status, switch, and token. |
|
cmd/clip
Package clip implements `opusclip clip`: create, get, and watch clip projects.
|
Package clip implements `opusclip clip`: create, get, and watch clip projects. |
|
cmd/clips
Package clips implements `opusclip clips`: list and download a project's generated clips.
|
Package clips implements `opusclip clips`: list and download a project's generated clips. |
|
cmd/completion
Package completion implements `opusclip completion` for bash/zsh/fish/powershell.
|
Package completion implements `opusclip completion` for bash/zsh/fish/powershell. |
|
cmd/config
Package config implements `opusclip config`: get, set, list, edit.
|
Package config implements `opusclip config`: get, set, list, edit. |
|
cmd/docs
Package docs implements `opusclip docs` — open the documentation in a browser.
|
Package docs implements `opusclip docs` — open the documentation in a browser. |
|
cmd/doctor
Package doctor implements `opusclip doctor` — connectivity and credential diagnostics (mirrors `sentry-cli info` / `gh status`).
|
Package doctor implements `opusclip doctor` — connectivity and credential diagnostics (mirrors `sentry-cli info` / `gh status`). |
|
cmd/info
Package info implements `opusclip info` — a friendly banner showing the CLI version, the active configuration, and auth status.
|
Package info implements `opusclip info` — a friendly banner showing the CLI version, the active configuration, and auth status. |
|
cmd/profiles
Package profiles implements `opusclip profiles`: list, use.
|
Package profiles implements `opusclip profiles`: list, use. |
|
cmd/root
Package root assembles the top-level `opusclip` command: it registers global flags, wires the command tree, and configures TTY/color behavior before any subcommand runs.
|
Package root assembles the top-level `opusclip` command: it registers global flags, wires the command tree, and configures TTY/color behavior before any subcommand runs. |
|
cmd/update
Package update implements `opusclip update` — self-update.
|
Package update implements `opusclip update` — self-update. |
|
cmd/version
Package version exposes build metadata injected via -ldflags at release time and the `opusclip version` / `opusclip --version` output.
|
Package version exposes build metadata injected via -ldflags at release time and the `opusclip version` / `opusclip --version` output. |
|
cmdutil
Package cmdutil holds the glue between Cobra commands and the rest of the system: the Factory (dependency injection), global flag state, exit-code mapping, and small command helpers.
|
Package cmdutil holds the glue between Cobra commands and the rest of the system: the Factory (dependency injection), global flag state, exit-code mapping, and small command helpers. |
|
config
Package config handles the layered configuration model described in the product spec: a TOML file holding one or more named profiles, with runtime resolution following the precedence flag → env → profile → built-in default.
|
Package config handles the layered configuration model described in the product spec: a TOML file holding one or more named profiles, with runtime resolution following the precedence flag → env → profile → built-in default. |
|
help
Package help renders the branded landing screen shown for a bare `opusclip` invocation and inside `opusclip info`: a framed ASCII wordmark with a tagline and version, followed by a grouped command listing.
|
Package help renders the branded landing screen shown for a bare `opusclip` invocation and inside `opusclip info`: a framed ASCII wordmark with a tagline and version, followed by a grouped command listing. |
|
httpclient
Package httpclient builds the *http.Client used for all REST traffic.
|
Package httpclient builds the *http.Client used for all REST traffic. |
|
iostreams
Package iostreams provides testable stdin/stdout/stderr handling with TTY and color detection.
|
Package iostreams provides testable stdin/stdout/stderr handling with TTY and color detection. |
|
output
Package output renders command results in the format the context calls for: aligned tables for a TTY, machine-readable JSON/CSV/TSV/YAML when piped.
|
Package output renders command results in the format the context calls for: aligned tables for a TTY, machine-readable JSON/CSV/TSV/YAML when piped. |
|
text
Package text holds small, pure string/time helpers that the rest of the CLI depends on.
|
Package text holds small, pure string/time helpers that the rest of the CLI depends on. |
|
updatecheck
Package updatecheck implements a non-blocking "new version available" notice.
|
Package updatecheck implements a non-blocking "new version available" notice. |
Click to show internal directories.
Click to hide internal directories.