Skip to content

add URI parser for options #3

@cbm80

Description

@cbm80

On the command-line add an option to specify an URI instead of individual options, ie.

direct connection:

irc://irc.example.com:6668/?chan=chan1,chan2&nick=xdccbot&pack=1234

transparent proxy:

proxy://user:password@irc.myproxy.com:7777/?chan=chan1,chan2&nick=xdccbot&pack=1234

znc-proxy with auto-connect and TLS:

znc://user:password@irc.myproxy.com:7777/?chan=chan1,chan2&nick=xdccbot&pack=1234&tls=true

Perhaps even add an option to put URIs into a config-file and reference them by alias, ie.

supernetwork="irc://irc.example.com:6668/?chan=chan1,chan2"

So it can be used like: xdcc supernetwork xdccbot 1234

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions