← spf13/cobra
CodeVetter · Repo Unpack · Extension points

spf13/cobra

Scanned commit adbc881390 dated 2026-07-10 — last upstream commit. Generated by codevetter codevetter 1.15.0 on 2026-10-02. Deep analysis by cli:codex via the codex CLI on 2026-10-02 (292s). Source inspection; upstream code and tests were not executed.

Extension uses ordinary Go values, callbacks, and metadata rather than requiring a special constructor. Command composition defines new actions and hierarchies. Registration APIs customize completion, validation, templates, lifecycle behavior, and generated documentation. Compatibility APIs include both supported extension surfaces and explicitly disabled legacy methods.