Skip to content

weew/console-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Console App

Build Status Code Quality Test Coverage Version Licence

Table of contents

Installation

composer require weew/console-app

Introduction

This is a very minimalistic wrapper for a console application. It is basically an integration of these two packages weew/app and weew/console.

Usage

Just create a new instance and your ready to go.

$app = new ConsoleApp();

// returns IConsole
$app->getConsole();

// start app
$app->start();

// run console
$app->parseArgv($argv);

Be aware that the --env switch is only available if debug mode has been enabled.

About

Integrates weew/app with weew/console

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages