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

feat: Repo query command line interface chat #14

Closed
jpmcb opened this issue Aug 1, 2023 · 3 comments · Fixed by #15
Closed

feat: Repo query command line interface chat #14

jpmcb opened this issue Aug 1, 2023 · 3 comments · Fixed by #15
Assignees

Comments

@jpmcb
Copy link
Member

jpmcb commented Aug 1, 2023

The repo-query is an engine that powers asking questions about a git repository.

As a fast, proof of concept, let's get something in the pizza CLI that uses the repo-query service.

Some scaffolding user experience:

$ pizza repo-query https://github.com/open-sauced/insights --branch beta

Indexing ...

Complete!

Want to ask a question?
> How is the highlights button getting its color?

The highlights button is getting its color from the CSS classes applied to it in
the highlights-filter-card.tsx file. Specifically, the button has the class bg-light-slate-1,
which sets the background color, and text-light-slate-12, which sets the text color.
These classes are defined in the CSS file associated with the component.

Want to ask another question?
>

Originally posted by @jpmcb in open-sauced/repo-query#3 (comment)

@diivi diivi self-assigned this Aug 1, 2023
@diivi
Copy link
Contributor

diivi commented Aug 1, 2023

https://github.com/janeczku/go-spinner is something like this natively supported by cobra? Maybe not now, but we can add a spinner/loading indicator later.

@jpmcb
Copy link
Member Author

jpmcb commented Aug 1, 2023

That should be able to be integrated within a cobra command. I've implemented something similar within gopher logs:

That may be sugar UX and we can always come back to add that sort of thing latter.

@open-sauced
Copy link

open-sauced bot commented Aug 22, 2023

🎉 This issue has been resolved in version 1.0.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

2 participants