💯 Doug Bell

NAME

beam - Discover and run services from container files

VERSION

version 0.012

SYNOPSIS

    beam run <container> <service> [<args...>]
    beam list
    beam list <container>
    beam help <container> <service>
    beam help

DESCRIPTION

This command allows you to execute runnable objects configured in container files. It also allows listing of container files, listing of runnable objects inside container files, and viewing documentation associated with those objects to help in running them.

For help with building a container file, see the Beam::Wire documentation.

ARGUMENTS

container

A container file to load. This file will be found in one of the "BEAM_PATH" directories. The file extension (.yml, .json, etc...) is optional.

service

The name of a runnable object in the container. The object must consume the Beam::Runnable role and implement the run() method.

args

Any arguments will be given to the service's run() method.

ENVIRONMENT VARIABLES

BEAM_PATH

A colon-separated list of paths to search for container files.

SEE ALSO

Beam::Runner, Beam::Wire

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Doug Bell.

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