command

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package command exposes compozy as a reusable Cobra command for embedding inside other Go CLIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitCode added in v0.1.7

func ExitCode(err error) int

ExitCode extracts a command-specific exit code from an execution error.

func New

func New() *cobra.Command

New returns the reusable compozy Cobra command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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