endpointParser function
ArgParser
endpointParser()
tcp -h *|{host} -p {port} -t infinite|{timeout} -z(compress) --sourceAddress {sourceAddress} udp --interface {host} --ttl {} -c(connect) -z(compress) ws -r {resource}
Implementation
ArgParser endpointParser() => ArgParser()
..addOption('host', abbr: 'h')
..addOption('port', abbr: 'p')
..addOption('timeout', abbr: 't')
..addOption('sourceAddress')
..addOption('ttl')
..addOption('connect', abbr: 'c')
..addOption('interface', abbr: 'i')
..addOption('resource', abbr: 'r')
..addFlag('compress', abbr: 'z') //, defaultsTo: false);
;