utils

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForUpdates added in v0.6.2

func CheckForUpdates(rootCmd *cobra.Command) error

CheckForUpdates checks if a new version of your application is pushed, and notifies the user, if DisableUpdateChecking is true.

func RemoveCodeBlock

func RemoveCodeBlock(input string) string

RemoveCodeBlock removes code block tags from a string. If no code block tags are found, it returns the original string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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