feat: Package for command-line arguments

This commit is contained in:
2024-01-02 21:05:33 +00:00
parent edc6cf37cd
commit 8c39d6f40e
4 changed files with 46 additions and 16 deletions

View File

@@ -0,0 +1,9 @@
package models
import "regexp"
// GrepConfigInternal defines valid grep configuration after parameters parsing
type GrepConfigInternal struct {
PathPattern *regexp.Regexp
TextPattern *regexp.Regexp
}