This commit is contained in:
Andrey Parhomenko 2023-03-24 20:36:29 +03:00
parent d106f3a7c3
commit 09da5dcd02

View file

@ -30,6 +30,10 @@ func (flags *Flags) Parse() {
flags.parsedArgs = flags.FlagSet.Args()
}
func (flags *Flags) AllArgs() []string {
return flags.args
}
func (flags *Flags) Args() []string {
return flags.parsedArgs
}