#!perl

use Zing::Cli;
run Zing::Cli;

=encoding utf8

=head1 NAME

zing

=head1 ABSTRACT

Multi-Process Management System

=head1 SYNOPSIS

  zing - multi-process management system

  Usage: zing <command> [<app>] [options]

  Commands:

    install          Create an application cartridge
    logs             Tap logs and output to STDOUT
    monitor          Monitor the specified application (start if not started)
    pid              Display an application process ID
    restart          Restart the specified application
    start            Start the specified application
    stop             Stop the specified application
    update           Hot-reload application processes

  Options:

    -a,--appdir      [string] Directory of the app file
    -b,--backlog     [flag] Produce log output using the backlog
    -d,--piddir      [string] Directory for the pid file
    -h,--handle      [string] Provide a handle (namespace)
    -i,--libdir, +1  [string] Directory for @INC
    -l,--level       [string] Reduce log output by log-level
    -n,--package     [string] Provide a process package name
    -p,--process     [string] Reduce log output by process name
    -r,--target      [string] Provide a target (package)
    -s,--search, +1  [string] Reduce log output by search string
    -t,--tag         [string] Reduce log output by process tag
    -v,--verbose     [flag] Produce verbose log output

=head1 DESCRIPTION

This tool lets you start, stop, and monitor Perl 5 processes using the L<Zing>
toolkit from the command-line.

=head1 AUTHOR

Al Newkirk, C<awncorp@cpan.org>

=head1 LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the terms
of the The Apache License, Version 2.0, as elucidated in the L<"license
file"|https://github.com/iamalnewkirk/zing/blob/master/LICENSE>.

=head1 PROJECT

L<Wiki|https://github.com/iamalnewkirk/zing/wiki>

L<Project|https://github.com/iamalnewkirk/zing>

L<Initiatives|https://github.com/iamalnewkirk/zing/projects>

L<Milestones|https://github.com/iamalnewkirk/zing/milestones>

L<Contributing|https://github.com/iamalnewkirk/zing/blob/master/CONTRIBUTE.md>

L<Issues|https://github.com/iamalnewkirk/zing/issues>

=cut