You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering wether it's possible to a []string as the destination of positional arguments that may container -prefixed strings. My use case is ./my-bin --debug my_first_pos_arg -something where I expect the []string{"my_first_pos_arg", "-something"} to be retrieved as the positional arguments given that I have something like
Hey,
I was wondering wether it's possible to a
[]string
as the destination of positional arguments that may container-
prefixed strings. My use case is./my-bin --debug my_first_pos_arg -something
where I expect the[]string{"my_first_pos_arg", "-something"}
to be retrieved as the positional arguments given that I have something likeIs this possible to be consumed by
go-arg
?Also, thanks a lot for
go-arg
! It's my go-to every time I need something quick and simple 👍Thx!
The text was updated successfully, but these errors were encountered: