Skip to content

Conversation

@pau-hedgehog
Copy link
Contributor

No description provided.

@pau-hedgehog pau-hedgehog requested a review from Copilot December 24, 2025 14:26
@pau-hedgehog pau-hedgehog self-assigned this Dec 24, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the hhfctl command-line tool from urfave/cli/v2 to urfave/cli/v3. The migration involves updating function signatures to match v3's API, which introduces context.Context as the first parameter and changes the CLI context parameter from *cli.Context to *cli.Command.

Key changes:

  • Updated import from github.com/urfave/cli/v2 to github.com/urfave/cli/v3
  • Modified all Before and Action function signatures to accept context.Context as first parameter
  • Replaced *cli.Context with *cli.Command in action handlers
  • Renamed API properties (AppCommand, SubcommandsCommands, EnableBashCompletionEnableShellCompletion)

Reviewed changes

Copilot reviewed 2 out of 49 changed files in this pull request and generated 2 comments.

File Description
go.mod Added dependency on urfave/cli/v3 v3.0.0-alpha9
cmd/hhfctl/main.go Migrated all CLI command definitions and handlers to v3 API patterns

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

🚀 Temp artifacts published: v0-d0181ffec 🚀

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

🚀 Temp artifacts published: v0-4084f7ff4 🚀

Signed-off-by: Pau Capdevila <pau@githedgehog.com>
@pau-hedgehog pau-hedgehog marked this pull request as ready for review January 8, 2026 22:48
@pau-hedgehog pau-hedgehog requested review from a team as code owners January 8, 2026 22:48
@github-actions
Copy link

github-actions bot commented Jan 8, 2026

🚀 Temp artifacts published: v0-db33b30eb 🚀

@pau-hedgehog pau-hedgehog marked this pull request as draft January 14, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants