Documentation
¶
Index ¶
- func ConfigWorkload(cmd *cobra.Command, args []string)
- func CreateStyle() *log.Styles
- func Display(title string, description string, fields ...huh.Field) error
- func ErrorIfNotAbort(err error) bool
- func FatalIfNotAbort(err error) bool
- func MainWorkload(cmd *cobra.Command, args []string)
- func RootCMD() *cobra.Command
- func SelectWorkload(cmd *cobra.Command, args []string)
- func SetupLogger(cmd *cobra.Command, args []string)
- func SetupWorkload(cmd *cobra.Command, args []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigWorkload ¶
func CreateStyle ¶ added in v1.0.2
func Display ¶
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 ¶
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 ¶
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 RootCMD ¶ added in v1.1.3
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 ¶
SelectWorkload opens a project in the selected IDE
func SetupLogger ¶
func SetupWorkload ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.