Matt Joiner

Results 754 comments of Matt Joiner

@caryyu did you want to take a stab at doing this? I'm open to you applying your take on how hte flags should be done on any of the cmds...

@caryyu what about https://github.com/alexflint/go-arg? Would that work?

No worries, thanks for the feedback. I've started on a clean-up of the cmds, currently with https://github.com/alexflint/go-arg. If there's any issues I'll try cobra.

This has been started with cmd/torrent, which now has a few subcommands: ``` Commands: download list-files spew-bencoding announce ``` So far so good. The issue remains open to contributions and...

I've started https://github.com/anacrolix/args, and it's used by more recent versions of anacrolix/torrent.

I've had several attempts at this, breaking `TorrentSpec` is the hard bit. There is a private type `addTorrentOpts` that might start evolving some of the fixes needed.

I don't currently have plans to implement socks support. I'll take any PRs, cheers.

Thanks for looking into this. It looks like when this lands it'll be as simple as allowing a custom Dialer to be set for various Dials in the code base....

Could we create a Dialer that implicitly performs the DialContext underneath, and use that as the forward argument to golang.org/x/net/proxy.FromURL?

Here's an example of that kind of thing: https://github.com/anacrolix/missinggo/blob/master/reader_context.go