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 (or replicate) common CLI packages into separate module for binary extension developers #4264

Closed
heaths opened this issue Sep 2, 2021 · 3 comments
Labels
core This issue is not accepting PRs from outside contributors enhancement a request to improve CLI

Comments

@heaths
Copy link
Contributor

heaths commented Sep 2, 2021

Describe the feature or problem you’d like to solve

Script extensions aren't always ideal, especially when extensions may want to do more that is difficult or otherwise very involved with scripts. Writing binary extensions in Go would be useful in these cases, but then devs have to mimic or try to go get the CLI which isn't really a target goal of the executable-producting projects.

Proposed solution

In support of binary extensions, it would be great if a lot of the functionality like IOStreams, TablePrinter, authentication, command factories, etc. - even testing facilities where possible - were refactored out or otherwise replicated into a go-gettabke module. This would provide the same great packages you use in the CLI to extension developers to hopefully present a consistent UX for end users.

@heaths heaths added the enhancement a request to improve CLI label Sep 2, 2021
@samcoe samcoe self-assigned this Sep 2, 2021
@samcoe
Copy link
Contributor

samcoe commented Sep 2, 2021

@heaths I am currently getting started on this 👍 I will update here when I have made more progress.

@samcoe samcoe added the core This issue is not accepting PRs from outside contributors label Sep 2, 2021
@samcoe
Copy link
Contributor

samcoe commented Dec 3, 2021

We just released the beta version of go-gh 🥳, please check it out and leave feedback in the repo!

@samcoe
Copy link
Contributor

samcoe commented Dec 8, 2021

Reopening per discussion: cli/go-gh#5 (comment).

@samcoe samcoe reopened this Dec 8, 2021
@samcoe samcoe removed their assignment Jan 25, 2022
@samcoe samcoe closed this as completed Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core This issue is not accepting PRs from outside contributors enhancement a request to improve CLI
Projects
None yet
Development

No branches or pull requests

3 participants
@heaths @samcoe and others