-
Notifications
You must be signed in to change notification settings - Fork 30
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
add release watch subcommand #355
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Brooks Newberry <[email protected]>
The alias tea for charmbracelet/bubbletea is a convention they introduce in their documentation. |
casette.tape is a script for the gif utility vhs for generating animated terminal images for README files. |
if checked { | ||
return lipgloss.NewStyle().Foreground(lipgloss.Color("241")).Render("(•) " + label) | ||
} | ||
return fmt.Sprintf("( ) %s", label) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return fmt.Sprintf("( ) %s", label) | |
return "( ) " + label |
@@ -29,6 +29,7 @@ release push k3s tags v1.29.2 | |||
release update k3s references v1.29.2 | |||
release tag k3s rc v1.29.2 | |||
release tag k3s ga v1.29.2 | |||
release watch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this take any args?
"golang.org/x/oauth2" | ||
) | ||
|
||
func newClient(ctx context.Context, token string) *github.Client { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this covered by repository.NewGithub
?
This PR adds a new subcommand
watch
to the release command.The user interactively adds Drone builds, GitHub releases or pull requests to add to a list. The list will poll each resource periodically to update its status badge.
When the user adds or removes items, the list is saved to ~/.ecm-distro-tools/watch_list.json