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

[BUG] v2 has no dependency to github.com/micro/cli/v2 v2.1.2 #2704

Open
Caplost opened this issue Apr 19, 2024 · 0 comments
Open

[BUG] v2 has no dependency to github.com/micro/cli/v2 v2.1.2 #2704

Caplost opened this issue Apr 19, 2024 · 0 comments

Comments

@Caplost
Copy link

Caplost commented Apr 19, 2024

  1. What are you trying to do?
    I am attempting to compile my project after upgrading the dependency to github.com/micro/cli/v2 v2.1.2.

  2. What did you expect to happen?
    I expected the project to compile and run without issues.

  3. What happens instead?
    The compilation fails with an error indicating a problem with the module github.com/micro/cli/v2 v2.1.2, or that it is incompatible with other dependencies.

How to reproduce the bug
To reproduce the issue, follow these steps:

// Suppose you have a simple application that uses github.com/micro/cli/v2
package main

import (
    "github.com/micro/cli/v2"
)

func main() {
    // Example code, specifics depend on your application
    app := &cli.App{
        Commands: []*cli.Command{
            {
                Name: "example",
                Action: func(c *cli.Context) error {
                    return nil
                },
            },
        },
    }
    app.Run()
}

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

No branches or pull requests

1 participant