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

Consolidate all App code into Command #1586

Closed
Tracked by #1531
meatballhat opened this issue Nov 15, 2022 · 0 comments · Fixed by #1746
Closed
Tracked by #1531

Consolidate all App code into Command #1586

meatballhat opened this issue Nov 15, 2022 · 0 comments · Fixed by #1746
Assignees
Labels
area/v3 relates to / is being considered for v3
Milestone

Comments

@meatballhat
Copy link
Member

meatballhat commented Nov 15, 2022

The App struct and Command struct have very similar surface area and behaviors. Greatly reducing the duplication between them has already been done in the v2 series, but I'd like to see if a single Command struct with .Commands field can be used everywhere and the App struct can be removed (or type alias?).

@meatballhat meatballhat added this to the Release 3.x milestone Nov 15, 2022
@meatballhat meatballhat self-assigned this Nov 28, 2022
meatballhat added a commit that referenced this issue Nov 28, 2022
meatballhat added a commit that referenced this issue Nov 29, 2022
meatballhat added a commit that referenced this issue Dec 18, 2022
in favor of focusing on declarative API.

Supports #1586
meatballhat added a commit that referenced this issue Dec 18, 2022
and accept strings for Authors instead

Supports #1586
meatballhat added a commit that referenced this issue Dec 18, 2022
meatballhat added a commit that referenced this issue Dec 19, 2022
meatballhat added a commit that referenced this issue Dec 19, 2022
dearchap pushed a commit to dearchap/cli that referenced this issue Jan 6, 2023
meatballhat added a commit that referenced this issue Jun 2, 2023
@dearchap dearchap added the area/v3 relates to / is being considered for v3 label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/v3 relates to / is being considered for v3
Projects
None yet
2 participants