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

Closed
Caplost opened this issue Apr 19, 2024 · 1 comment
Closed

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

Caplost opened this issue Apr 19, 2024 · 1 comment

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()
}

@asim
Copy link
Member

asim commented Jul 12, 2024

Sorry v2 is no longer supported

@asim asim closed this as completed Jul 12, 2024
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

2 participants