Skip to content

Conversation

drupol
Copy link
Contributor

@drupol drupol commented Jul 29, 2019

This PR

  • Let user add global command options
  • Has tests
  • Has documentation

Fixes #6

@drupol drupol requested a review from jfhovinne July 29, 2019 16:52
@drupol drupol force-pushed the 6-globals-options branch 2 times, most recently from 70f1188 to 89e6e98 Compare July 30, 2019 18:29
@drupol drupol added this to the 1.1.0 milestone Jul 30, 2019
@drupol drupol added the enhancement New feature or request label Jul 30, 2019
@drupol drupol self-assigned this Jul 30, 2019
@drupol drupol changed the title Feature: Let user add global options. Issue #6: Let user add global options. Jul 30, 2019
@drupol drupol force-pushed the 6-globals-options branch from 0d2d1ec to 1875904 Compare July 31, 2019 07:50
@jfhovinne jfhovinne merged commit 2e375e4 into master Jul 31, 2019
@jfhovinne jfhovinne deleted the 6-globals-options branch July 31, 2019 08:29
drupol added a commit that referenced this pull request Aug 13, 2019
* Feature: Let user add global options.

* Feature: Refactoring.

* Feature: Remove obsolete test now that we refactored the working_dir option.

* Feature: Take in account the mode and get rid of latest PHPCS errors.

* Fix PHPStan issue because of upgrade of consolidation/robo.

* Improve functional tests.

* Add missing parenthesys to avoid wrong order of operations.

* Prevent issue when no working-dir is set on command line.

* Move the method to another place, to be aligned with other method.

* Use "options." instead of "taskman.".

* Update documentation.

* Let user customize options shortcuts.

* Fix CS.

* Typos

taskman:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@drupol

This breaks compatibility with phptaskman/drupal that depends on taskman.bin_dir: https://github.com/php-taskman/drupal/blob/master/src/Robo/Plugin/Commands/AbstractDrupalCommands.php#L316

Should we release a new version of phptaskman/drupal with a dependency to 1.0.5 or rethink the renaming of this property?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should update it :(

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okey, I'll make a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Let users create global command options.
2 participants