Jared Swets

Results 26 comments of Jared Swets

Should be good, I've used it and no problems found so far.

I'm in the same boat, not sure how to parse the supplied args.

Yes, we were hoping to do `mycli create test` not `mycli create -n test`. Or in my example, was hoping to do `mycli add -all` or `mycli add ` (kind...

Alright, after some testing have realized we can directly call os.Args[], so as long as we know the position (which could be a major issue), you can fulfill the requirements....

So maybe something to add to the library that stores all args supplied after the subcommand? Although all of my actions are functions in another library, so either global or...

That was fast! Unfortunately it doesn't work for my use case. Consider this example: ``` func main() { // Create new cli cli := clir.NewCli("Other Args", "A basic example", "v0.0.1")...

Opened a pull request in case you haven't done it yet. Was curious if you were planning on adding "required" tags or not to the library? That is about the...

Hmm, looking at it you wrap the `flagset` from the main library... adding a required tag wouldn't be simple, I'm no expert but you might have to abandon the `flagset`...

@Wulfheart IDK, after some experimentation I think @leaanthony might be right that required is best handled elsewhere. If you look at your case something like this would be simple and...

If the base torrent library adds support, I can consider adding it. Looks like you already asked about that on that repo.