PHPackages                             droath/robo-command-builder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. droath/robo-command-builder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

droath/robo-command-builder
===========================

Build Robo task commands from a single definition file.

0.0.4(2y ago)07.9k↑16.7%1MITPHP

Since Sep 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/droath/robo-command-builder)[ Packagist](https://packagist.org/packages/droath/robo-command-builder)[ RSS](/packages/droath-robo-command-builder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (1)

The robo command builder is a utility that allows commands to be defined in a definition file. Once the commands have been defined they'll be able to be called via a PHP method.

The command definition allows for the following directives:

- binary - string (required)
- commands - array (required)

Each command action will be able to define their arguments and/or options. The `arguments` definition is a single key array.

command.yml

```
...
commands:
  upload :
    arguments:
      - file
```

Which you would be able to use within a Robo task class.

```
