-
Notifications
You must be signed in to change notification settings - Fork 3
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
Commands and --instance option #31
Comments
Realistically I don't think we're going to have more than a single command that ignores this value. Does it really make sense to add extra code to every other command to avoid having a no-op option in that one command? I'm not so sure yet. |
I'm thinking about a coding style checker/fixer that can use a concrete installation, but also may be disjointed from it (think for example at fixing the coding style of the code of a package) |
That makes sense, though for that command you'd likely want a way to specify the package directory through an option the same way you can specify an instance, so I wonder if it makes sense to replace this |
Yep, or |
How about #38 to avoid |
At the moment, every command accepts the
--instance
option.BTW not all commands may implement the
InstallationAwareInterface
interface,For example, here's the output of
concrete help self-update
:IMHO we should add the
--instance
option only to commands implementingInstallationAwareInterface
(not sure about how this can be done though).The text was updated successfully, but these errors were encountered: