onepub-dev / dcli

An extensive library and tooling for building console/cli applications and scripts using the Dart programming language.
246 stars 27 forks source link

Ask.any failing #116

Closed bsutton closed 4 years ago

bsutton commented 4 years ago

settings['host'] = ask( 'host:', defaultValue: settings['host'] as String, validator: Ask.any([ Ask.fqdn, Ask.ipAddress(), Ask.inList(['localhost', '127.0.0.1']) ])); );

If you enter 127.0.0.1 then the any method throws an error Invalid FQDN.

bsutton commented 4 years ago

resolved in 0.25.