spf13--cobra/decryptor/noop.go

11 lines
208 B
Go

package decryptor
type NoopDecryptor struct{}
func NewNoopDecryptor() Decryptor {
return &NoopDecryptor{}
}
func (n *NoopDecryptor) DecryptArguments(args []string) ([]string, error) {
return args, nil
}