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

Refactor App and Command to share logic #554

Closed
jszwedko opened this issue Oct 29, 2016 · 3 comments · Fixed by #1498
Closed

Refactor App and Command to share logic #554

jszwedko opened this issue Oct 29, 2016 · 3 comments · Fixed by #1498
Labels
area/v2 relates to / is being considered for v2 kind/maintenance about releasing / CI / Github / other kind of "meta" project maintenance work status/confirmed confirmed to be valid, but work has yet to start
Milestone

Comments

@jszwedko
Copy link
Contributor

jszwedko commented Oct 29, 2016

Currently, there is a lot of duplication between the App and Command code paths. We should take the opportunity to clean this up for the next v2 release.

My thoughts are to embed Command in App and remove as many shared fields as is reasonable.

@jszwedko jszwedko added the kind/feature describes a code enhancement / feature request label Oct 29, 2016
@jszwedko jszwedko added this to the v2.0.0 milestone Oct 29, 2016
@coilysiren coilysiren removed this from the v2.0.0 milestone Aug 17, 2019
@coilysiren coilysiren added kind/feature describes a code enhancement / feature request status/confirmed confirmed to be valid, but work has yet to start and removed kind/feature describes a code enhancement / feature request labels Aug 17, 2019
@coilysiren coilysiren added area/v2 relates to / is being considered for v2 kind/maintenance about releasing / CI / Github / other kind of "meta" project maintenance work and removed kind/feature describes a code enhancement / feature request labels Nov 27, 2019
@26tanishabanik
Copy link

26tanishabanik commented Sep 20, 2022

@jszwedko , can I work on this issue?

@jszwedko
Copy link
Contributor Author

@26tanishabanik looks like @dearchap opened a PR for it, but yeah that seems fine by me! I defer to the current maintainers though. cc/ @urfave/cli

@icholy
Copy link
Contributor

icholy commented Sep 21, 2022

Embedding Command would be backwards incompatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/v2 relates to / is being considered for v2 kind/maintenance about releasing / CI / Github / other kind of "meta" project maintenance work status/confirmed confirmed to be valid, but work has yet to start
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants