Skip to content

Conversation

gab-arrobo
Copy link
Contributor

No description provided.

Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
Copy link

@Copilot 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 codebase from urfave/cli v1 to v3, updating imports, flag definitions, and CLI method signatures to match the new API.

  • Switch imports and dependencies to use github.com/urfave/cli/v3
  • Update flag declarations to pointer-based &cli.StringFlag{} and CLI command signatures
  • Adjust app instantiation and Action handlers to align with v3 API

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 6 comments.

File Description
service/init.go Updated CLI import, flag definitions, and method signatures to v3
go.mod Replaced github.com/urfave/cli v1 with github.com/urfave/cli/v3
amf.go Switched to cli/v3: application initialization and action signature

Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
@gab-arrobo gab-arrobo changed the title Migrate code to use cli/v3 Migrate codebase to use cli/v3 Jun 19, 2025
@gab-arrobo gab-arrobo requested a review from gatici June 19, 2025 06:25
Copy link
Contributor

@patriciareinoso patriciareinoso left a comment

Choose a reason for hiding this comment

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

LGTM

@gab-arrobo gab-arrobo merged commit e0b7cba into omec-project:main Jun 19, 2025
9 checks passed
@gab-arrobo gab-arrobo deleted the migrate-to-cli-v3 branch June 19, 2025 16:56
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.

3 participants