Skip to content

Refactor App and Command to share logic #554

Closed

Description

@jszwedko

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.

Activity

  1. added
    kind/feature
    on Oct 29, 2016
  2. added this to the v2.0.0 milestone on Oct 29, 2016
  3. removed this from the v2.0.0 milestone on Aug 17, 2019
  4. added
    kind/feature
    status/confirmed
    and removed
    kind/feature
    on Aug 17, 2019
  5. added
    area/v2
    kind/maintenance
    and removed
    kind/feature
    on Nov 27, 2019
  6. 26tanishabanik commented on Sep 20, 2022

    @26tanishabanik

    @jszwedko , can I work on this issue?

  7. jszwedko commented on Sep 21, 2022

    @jszwedko
    ContributorAuthor

    @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

  8. icholy commented on Sep 21, 2022

    @icholy
    Contributor

    Embedding Command would be backwards incompatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/v2kind/maintenancestatus/confirmed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions