App::hopen::G::Cmd - base class for hopen(1) operation-graph nodes
This is the base class for graph nodes in the command graph of App::hopen. See App::hopen::Conventions.
An arrayref of the outputs from this function, which are App::hopen::Asset instances. (TODO enforce this requirement.)
Adds App::hopen::Asset instances to "made" (a Cmd's asset output). Does not add the assets to the generator's asset graph, since the generator is not available as instance data. One or more parameters or arrayrefs of parameters can be given. Returns a list of the Asset instances made. Each parameter can be:
Asset
An App::hopen::Asset or subclass (in which case made_by is updated)
A valid target for an App::hopen::Asset.
target
Returns the assets provided as input via "make" calls in predecessor nodes. Only meaningful within _run() (since that's when $self->scope is populated). Returns an arrayref in scalar context or a list in list context.
_run()
$self->scope
Overrides "run" in Data::Hopen::G::Runnable to stuff "made" into the outputs if it's not already there. Note that this will replace any non-arrayref made output.
made
To install App::hopen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::hopen
CPAN shell
perl -MCPAN -e shell install App::hopen
For more information on module installation, please visit the detailed CPAN module installation guide.