NAME

Mac::PopClip::Quick::Generator - quickly generate PopClip extensions in Perl

SYNOPSIS

use Mac::PopClip::Quick::Generator;
my $g = Mac::PopClip::Quick::Generator->new(
   extension_name => 'delete',
   src => $script_src,
);

DESCRIPTION

This is a module that can create PopClip extensions in Perl. Users aren't expected to use this module directly, but instead use the interface provided by the Mac::PopClip::Quick module.

Internally it's a simple Moo class that loads a bunch of roles that actually provide the functionality to add files and create the l

METHODS

$class->new

Standard constructor. Requires a bunch of stuff.

$generator->create

Create the file containing the PopClip extension.

$generator->install

Install the module (requires PopClip to be installed)

WARNING: This leaves the temp file that this creates in the temp directory.

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Mark Fowler.

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

SEE ALSO

This module consumes the following roles:

Mac::PopClip::Quick::Role::WritePlist
Mac::PopClip::Quick::Role::CoreAttributes
Mac::PopClip::Quick::Role::PerlScript
Mac::PopClip::Quick::Role::BeforeAfter
Mac::PopClip::Quick::Role::Regex

This module is used by the main module, Mac::PopClip::Quick.