🔨Cobra package replaced with standard flag package

This commit is contained in:
2024-12-18 20:58:14 +04:00
parent 04e5b5f3eb
commit 186683fce5
7 changed files with 123 additions and 72 deletions

View File

@@ -19,10 +19,6 @@ func OSErrorFormater(err error) error {
return ErrInvalidFile
}
func CobraErrorFormater(err error) error {
return err
}
func shortenNamespace(namespace string) string {
return namespace[strings.Index(namespace, ".")+1:]
}