Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

using symfony progress helper with amend? #5

Open
isimmons opened this issue Feb 18, 2014 · 2 comments
Open

using symfony progress helper with amend? #5

isimmons opened this issue Feb 18, 2014 · 2 comments

Comments

@isimmons
Copy link

Hi, sorry this is not an actual issue but I'm trying to figure out if and how it is possible to use symfony's progressHelper with this.

Right now I have this and it works good but the progress bar would be a nice touch.

$updateCommand = new KevinGH\Amend\Command('self-update');
$updateCommand->setManifestUri('https://github.com/isimmons/sgd/raw/master/sgd-manifest.json');
$app->getHelperSet()->set(new KevinGH\Amend\Helper);
$app->add($updateCommand);

Is this something that could be easily integrated into KevinGH/Amend/Command ?

Thanks

@ghost
Copy link

ghost commented Feb 18, 2014

It is possible, but Amend doesn't directly support it. You'll have to create a bunch of classes that will extend existing ones just so that you can customize Update::getFile() to use the progress helper.

This is something I want to support in a future version, though.

@ghost ghost added the enhancement label Feb 18, 2014
@isimmons
Copy link
Author

Ok thanks. I won't spend a bunch of time on it for the app I'm working on now but it's good to know.

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

No branches or pull requests

1 participant