Dist::Zilla::Plugin::Chrome::ExtraPrompt - Perform arbitrary commands when Dist::Zilla prompts you
In your ~/.dzil/config.ini (NOT dist.ini):
[Chrome::ExtraPrompt] command = say Dist zilla would like your attention. repeat_prompt = 1
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.
The string containing the command and arguments to call. required.
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.
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).
Bugs may be submitted through the RT bug tracker (or bug-Dist-Zilla-Plugin-Chrome-ExtraPrompt@rt.cpan.org). I am also usually active on irc, as 'ether' at
Karen Etheridge <email@example.com>
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.