Implemented run command

This commit is contained in:
Eduard Urbach 2024-07-06 19:40:20 +02:00
parent 0b4b3343c4
commit c139dced9e
Signed by: eduard
GPG key ID: 49226B848C78F6C8
7 changed files with 95 additions and 19 deletions

View file

@ -0,0 +1,13 @@
package errors
import "fmt"
// UnknownCLIParameter error is created when a command line parameter is not recognized.
type UnknownCLIParameter struct {
Parameter string
}
// Error generates the string representation.
func (err *UnknownCLIParameter) Error() string {
return fmt.Sprintf("Unknown parameter '%s'", err.Parameter)
}