utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLatestReleaseTag added in v0.0.2

func GetLatestReleaseTag(repo_org string, repo_name string) (string, error)

func ReadFile added in v0.0.2

func ReadFile(filePath string) (string, error)

func RunCommand added in v0.0.2

func RunCommand(cmd string, args []string, updates chan<- string) error

func ShowAvailableAgents

func ShowAvailableAgents()

func UpdateConfigBlock added in v0.0.2

func UpdateConfigBlock(fullConfig, confBlock string, updates map[string]string) (string, error)

func ValidateAgent

func ValidateAgent(agent string) bool

func WriteFile added in v0.0.2

func WriteFile(filePath, updatedContent string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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