Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide migration path to 2.* #72

Open
igorsantos07 opened this issue Jun 3, 2015 · 4 comments
Open

Provide migration path to 2.* #72

igorsantos07 opened this issue Jun 3, 2015 · 4 comments

Comments

@igorsantos07
Copy link
Contributor

I have an application that currently depends on 1.5.* branch.
It seems the package got a lot of updates since them, things got deprecated and others simply don't work anymore.

However, I can't see anything useful in the README or CHANGELOG files. Please, is there any help on updating the package? It's very bad for users when packages get upgraded without info on how to upgrade.

@c9s
Copy link
Owner

c9s commented Jun 3, 2015

I remember the deprecated method was registerCommand, please replace them with command(...)

Also please check out our example application, it will show you the API (it's basically the same):

The new things in Command is that arguments method, you can define the argument info to generate your completion script (both bash and zsh)

The change log is here: https://github.com/c9s/CLIFramework/blob/master/CHANGELOG.md

@c9s
Copy link
Owner

c9s commented Jun 3, 2015

If you're using some CLIFramework API, there is a new service container based on pimple:

https://github.com/c9s/CLIFramework/blob/master/src/CLIFramework/ServiceContainer.php

@c9s
Copy link
Owner

c9s commented Jun 16, 2015

Does it work for you?

@c9s
Copy link
Owner

c9s commented Jul 15, 2015

Hi @igorsantos07,

Just updated the documentation for some components: https://github.com/c9s/CLIFramework/wiki

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

No branches or pull requests

2 participants