cmd

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigWorkload

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

func CreateStyle added in v1.0.2

func CreateStyle() *log.Styles

func Display

func Display(title string, description string, fields ...huh.Field) error

Display wraps the given fields into a group and form and shows it, if title and/or description are not "", then they will be configured and add to the form

func ErrorIfNotAbort

func ErrorIfNotAbort(err error) bool

ErrorIfNotAbort Checks if the error is an "user aborted" error and return true if it is, Else will error log the error if not nil

func FatalIfNotAbort

func FatalIfNotAbort(err error) bool

FatalIfNotAbort Checks if the error is an "user aborted" error and return true if it is, Else will fataly log the error if not nil

func MainWorkload

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

func RootCMD added in v1.1.3

func RootCMD() *cobra.Command

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 SelectWorkload

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

SelectWorkload opens a project in the selected IDE

func SetupLogger

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

func SetupWorkload

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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