The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dist::Zilla::Plugin::Chrome::ExtraPrompt - Perform arbitrary commands when Dist::Zilla prompts you

VERSION

version 0.015

SYNOPSIS

In your ~/.dzil/config.ini (NOT dist.ini):

    [Chrome::ExtraPrompt]
    command = say Dist zilla would like your attention.
    repeat_prompt = 1

DESCRIPTION

This is a Dist::Zilla plugin that is loaded from your ~/.dzil/config.ini, which affects the behaviour of prompts within Dist::Zilla commands. When you are prompted, the specified command is run; it is killed when you provide prompt input.

I have mine configured as in the synopsis, which uses the say command on OS X to provide an audio prompt to bring me back to this screen session.

CONFIGURATION OPTIONS

command

The string containing the command and arguments to call. required.

repeat_prompt

A boolean flag (defaulting to false) that, when set, appends the prompt string to the command and arguments that are called, passing as a single (additional?) argument.

CAVEATS

Some architectures may be incapable of processing the kill signal sent to the command when the prompt returns; if this is happening to you, let me know and I can do some more things in code to avoid this (such as massaging the command to avoid a shell intermediary).

SUPPORT

Bugs may be submitted through the RT bug tracker (or bug-Dist-Zilla-Plugin-Chrome-ExtraPrompt@rt.cpan.org).

There is also a mailing list available for users of this distribution, at http://dzil.org/#mailing-list.

There is also an irc channel available for users of this distribution, at #distzilla on irc.perl.org.

I am also usually active on irc, as 'ether' at irc.perl.org.

AUTHOR

Karen Etheridge <ether@cpan.org>

COPYRIGHT AND LICENCE

This software is copyright (c) 2013 by Karen Etheridge.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.