spf13--cobra/decryptor/noop.go

12 lines
208 B
Go
Raw Normal View History

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