The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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:

Data::Object::Cli

LIBRARIES

This package uses type constraints from:

Zing::Types

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".

PROJECT

Wiki

Project

Initiatives

Milestones

Contributing

Issues