mirror of
https://github.com/danielmiessler/fabric.git
synced 2026-09-10 07:36:44 -04:00
Update version to v1.4.128 and commit
This commit is contained in:
parent
525b89be71
commit
e858700976
|
|
@ -155,8 +155,6 @@ if currentFlags.RemoveExtension != "" {
|
|||
return
|
||||
}
|
||||
|
||||
|
||||
|
||||
// if the interactive flag is set, run the interactive function
|
||||
// if currentFlags.Interactive {
|
||||
// interactive.Interactive()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
"1.4.127"
|
||||
"1.4.128"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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" {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
package main
|
||||
|
||||
var version = "v1.4.127"
|
||||
var version = "v1.4.128"
|
||||
|
|
|
|||
Loading…
Reference in a new issue