Re: [rt.cpan.org #59067] AutoReply: `yes | dzil release` no longer works
Date:
Tue, 6 Jul 2010 18:20:38 +0000
To:
bug-Dist-Zilla [...] rt.cpan.org
From:
Ævar Arnfjörð Bjarmason <avar [...] cpan.org>
This broke when Term::UI was introduced. Unlike the old dzil it
doesn't handle input on stdin:
use Term::UI;
use Term::ReadLine;
my $term = Term::ReadLine->new('brand');
my $bool = $term->ask_yn(
prompt => 'Do you like cookies?',
default => 'y',
);
Not using it if STDIN is open would work as a workaround, I think.
I am open for patches (with tests) for this, but am unlikely to get to this myself. This may be obvious given how long this ticket has been untouched…
--
rjbs
Tue Jul 23 13:55:56 2013The RT System itself - Status changed from 'new' to 'open'
Tue Jul 23 13:55:57 2013rjbs [...] cpan.org - Status changed from 'open' to 'stalled'