8000 New features, a little restructuring and better help function in 4.5 - 4.6 by madsbrunn · Pull Request #13 · TYPO3-coreapi/ext-coreapi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 15, 2023. It is now read-only.

New features, a little restructuring and better help function in 4.5 - 4.6 #13

Closed
wants to merge 26 commits into from

Conversation

madsbrunn
Copy link

I have added the following new extension commands:

  • install: install (activates an extension)
  • uninstall: uninstall (deactivates extension)
  • configure: configure an extension
  • fetch: fetch an extension from TER
  • import: import an extension from t3x-file

I have done some restructuring of the Tx_Coreapi_Cli_Dispatcher class:

  • Extended from t3lib_cli. Supports both (required) arguments and options (such as "--xx=yy")
  • Changed dispatching so every command has it's own method (uses reflection to validate parameters).
  • Better help function (uses reflection and php doc comments to render the help menu)

Hope you'll find it usefull!

Best regards

Mads Brunn

xwm and others added 26 commits May 2, 2013 16:30
…r support of options and arguments. Also implemented better help function based on doccomments
… to Cli/Dispatcher.php for compatibility with TYPO3 version 4.5 and 4.6
@etobi
Copy link
Member
etobi commented Jul 3, 2013

Hej,
sorry to keep you waiting. I really like your patch and would love to merge it. But i hesitate due to the lack of 6.0+ support.

What needs to be done to make it compatible with 6.0, 6.1 and 6.2-dev too?

@etobi
Copy link
Member
etobi commented Jul 3, 2013

I just reviewed your commits. i really love the dispatcher refactoring :-)

@ghost ghost assigned etobi Jul 8, 2013
@etobi etobi mentioned this pull request Jul 9, 2013
@etobi etobi closed this in 90bc75e Jul 10, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0