Task #562

avatar

Use NDesk.Options to parse commands

Added by Mirco Bauer 5049 days ago.

Status:New Start:01/25/2011
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

0%

Category:Engine
Target version:-
Complexity:

Medium

Votes: 0

Description

Currently commands are parsed in CommandModel using a very simple parser. The issue is that there are commands such as /connect which need a lot of options but can only be specified by order and even then it's easy to mess up. Smuxi should instead use an optional parser that allows named options like this:
/connect --protocol irc --host irc.oftc.net

Also available in: Atom PDF