NAME

Aion::Run::RunsRun - list of scripts with the annotation #@run

SYNOPSIS

File etc/annotation/run.ann:

Aion::Run::RunRun#run=run:run „Executes Perl code in the context of the current project”
Aion::Run::RunsRun#list=run:runs „List of scripts”



use common::sense;
use Aion::Format qw/trappout coloring/;
use Aion::Run::RunsRun;

my $len = 4;
my $len2 = 6;

my $list = coloring "#yellow%s#r\n", "run";
$list .= coloring "  #green%-${len}s #{bold red}%-${len2}s #{bold black}%s#r\n", "run", "code", "„Executes Perl code in the context of the current project”";
$list .= coloring "  #green%-${len}s #{bold red}%-${len2}s #{bold black}%s#r\n", "runs", "[mask]", "„List of scripts”";

trappout { Aion::Run::RunsRun->new->list } # => $list

DESCRIPTION

Prints a list of scripts from the file etc/annotation/run.ann to standard output.

To do this, it loads files to obtain descriptions of the arguments from them.

You can change the file in the Aion::Run::Runner#INI config.

FEATURES

mask

Mask for filter by scripts.

my $len = 4;
my $len2 = 6;

my $list = coloring "#yellow%s#r\n", "run";
$list .= coloring "  #green%-${len}s #{bold red}%-${len2}s #{bold black}%s#r\n", "runs", "[mask]", "„List of scripts”";

trappout { Aion::Run::RunsRun->new(mask => 'runs')->list } # => $list

SUBROUTINES

list ()

Lists scripts on STDOUT.

AUTHOR

Yaroslav O. Kosmina mailto:darviarush@mail.ru

LICENSE

GPLv3

COPYRIGHT

The Aion::Run::RunsRun module is copyright © 2023 Yaroslav O. Kosmina. Rusland. All rights reserved.