Skip to content

Command Component "verbose" option already exists #2

@chrisflanigan

Description

@chrisflanigan

Great work!

I did run into one issue getting started with your examples using the following:

  • Symfony v2.3.1
  • daemonizable-command v1.1.* (via composer)

Symfony added a "verbose" flag natively to the Command Component. Thus, I was required to comment out the following line (line 53 of EndlessCommand.php) or else I get a Logic Exception in the CLI:

https://github.com/wrep/daemonizable-command/blob/master/src/Wrep/Daemonizable/Command/EndlessCommand.php#L53

Again, after removing that addOption statement, the command executes as it should. Any chance of removing this in a future release?

BTW, this seems to be causing problems in other projects - you are not alone:
cakephp/phinx#77 (comment)

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions