Update version to v1.4.128 and commit
Some checks failed
Go Build / Run tests (push) Has been cancelled
Update Version File and Create Tag / update-version (push) Has been cancelled

This commit is contained in:
github-actions[bot] 2024-12-26 20:07:20 +00:00
parent 525b89be71
commit e858700976
16 changed files with 582 additions and 594 deletions

View file

@ -155,8 +155,6 @@ if currentFlags.RemoveExtension != "" {
return
}
// if the interactive flag is set, run the interactive function
// if currentFlags.Interactive {
// interactive.Interactive()

View file

@ -68,7 +68,6 @@ type Flags struct {
ListExtensions bool `long:"listextensions" description:"List all registered extensions"`
AddExtension string `long:"addextension" description:"Register a new extension from config file path"`
RemoveExtension string `long:"rmextension" description:"Remove a registered extension by name"`
}
var debug = false

View file

@ -1 +1 @@
"1.4.127"
"1.4.128"

View file

@ -36,8 +36,6 @@ type OperationConfig struct {
CmdTemplate string `yaml:"cmd_template"`
}
// RegistryEntry represents a registered extension
type RegistryEntry struct {
ConfigPath string `yaml:"config_path"`
@ -52,8 +50,6 @@ type ExtensionRegistry struct {
}
}
// Helper methods for Config access
func (e *ExtensionDefinition) GetOutputMethod() string {
if output, ok := e.Config["output"].(map[string]interface{}); ok {
@ -82,7 +78,6 @@ func (e *ExtensionDefinition) IsCleanupEnabled() bool {
return false // default to no cleanup
}
func NewExtensionRegistry(configDir string) *ExtensionRegistry {
r := &ExtensionRegistry{
configDir: configDir,
@ -188,7 +183,6 @@ func (r *ExtensionRegistry) validateExtensionDefinition(ext *ExtensionDefinition
return nil
}
func (r *ExtensionRegistry) Remove(name string) error {
if _, exists := r.registry.Extensions[name]; !exists {
return fmt.Errorf("extension %s not found", name)
@ -274,7 +268,6 @@ func (r *ExtensionRegistry) GetExtension(name string) (*ExtensionDefinition, err
return &ext, nil
}
func (r *ExtensionRegistry) ListExtensions() ([]*ExtensionDefinition, error) {
var exts []*ExtensionDefinition

View file

@ -130,8 +130,6 @@ func ApplyTemplate(content string, variables map[string]string, input string) (s
continue
}
// Handle regular variables and input
debugf("Processing variable: %s\n", varName)
if varName == "input" {

View file

@ -1,3 +1,3 @@
package main
var version = "v1.4.127"
var version = "v1.4.128"