NAME
Zing::Cli - Command-line Interface
ABSTRACT
Command-line Process Management
SYNOPSIS
use Zing::Cli;
my $cli = Zing::Cli->new;
# $cli->handle('main');
DESCRIPTION
This package provides a command-line interface for managing Zing applications. See the zing documentation for interface arguments and options.
INHERITS
This package inherits behaviors from:
LIBRARIES
This package uses type constraints from:
METHODS
This package implements the following methods:
main
main() : Any
The main method executes the command-line interface and displays help text or launches applications.
- main example #1
-
# given: synopsis # e.g. # zing start once -I t/lib -a t/app # pass $cli->handle('main');
- main example #2
-
# given: synopsis # e.g. # zing start unce -I t/lib -a t/app # fail (not exist) $cli->handle('main');
AUTHOR
Al Newkirk, awncorp@cpan.org
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 "license file".