helpers

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitOnError

func ExitOnError(err error)

func GetContextFromArgs

func GetContextFromArgs(cmd *cobra.Command, args []string) ([]string, string, error)

for cobra commands that allow arbitrary args to facilitate passing flags to other commands strip out sitectl's context flag from the args if it was passed

func OpenURL

func OpenURL(url string) error

open a URL from the terminal

Types

This section is empty.

Jump to

Keyboard shortcuts

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