Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 35 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,37 @@
[![Build Status](https://travis-ci.org/ClearcodeHQ/command-bus-console.svg?branch=master)](https://travis-ci.org/ClearcodeHQ/command-bus-console)
[![Coverage Status](https://coveralls.io/repos/ClearcodeHQ/command-bus-console/badge.svg?branch=master&service=github)](https://coveralls.io/github/ClearcodeHQ/command-bus-console?branch=master)

# Command Bus Console

[![Build Status](https://travis-ci.org/ClearcodeHQ/CommandBusLauncherBundle.svg?branch=master)](https://travis-ci.org/ClearcodeHQ/CommandBusLauncherBundle)
[![Coverage Status](https://coveralls.io/repos/ClearcodeHQ/CommandBusLauncherBundle/badge.svg?branch=master&service=github)](https://coveralls.io/github/ClearcodeHQ/CommandBusLauncherBundle?branch=master)
Command Bus Console is a package exposing your command bus functionality to the CLI.

# Installation

```
$ composer require clearcode/command-bus-console
```

Enable `Clearcode\CommandBusConsole\Bundle\CommandBusConsoleBundle\CommandBusConsoleBundle` in the kernel of your Symfony application.

```php
<?php
// app/AppKernel.php

public function registerBundles()
{
$bundles = array(
// ...
new Clearcode\CommandBusConsole\Bundle\CommandBusConsoleBundle\CommandBusConsoleBundle(),
);
}
```

# Usage

```
$ bin/console command-bus:console YourCommandClass firstArgument secondArgument ... nthArgument
```

# License

MIT, see LICENSE.