cmd

package
v0.0.0-...-7a15f73 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToJSON

func ConvertToJSON(data map[string]any) (string, error)

ConvertToJSON converts a map to pretty-printed JSON.

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func ProcessArgs

func ProcessArgs(args []string) (map[string]any, error)

ProcessArgs processes key-value arguments and returns a map.

func ReadStdinArgs

func ReadStdinArgs(reader io.Reader) ([]string, error)

ReadStdinArgs reads key-value pairs from stdin.

Types

This section is empty.

Jump to

Keyboard shortcuts

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