cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteWithSignals

func ExecuteWithSignals(root *cobra.Command) error

ExecuteWithSignals runs root with a context that Ctrl-C or SIGTERM cancels, so an interrupted run fails its current node through the normal failure path and still writes its record. Once the first signal lands the handler is removed, so a second Ctrl-C kills the process straight away.

ponytail: exec: providers share our process group, so a terminal Ctrl-C reaches them too and they may exit before Orchard asks them to; give them their own process group if that ever matters.

func NewRootCmd

func NewRootCmd() *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