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

Suspending Version of CompletionCommand #553

Closed
cmdjulian opened this issue Sep 16, 2024 · 0 comments · Fixed by #556
Closed

Suspending Version of CompletionCommand #553

cmdjulian opened this issue Sep 16, 2024 · 0 comments · Fixed by #556

Comments

@cmdjulian
Copy link

Hey,
I'm a bit unsure how to integrate a SuspendingCliktCommand with CompletionCommand. When having something like the following:

object EtaDeploy : SuspendingCliktCommand() {
    init {
        subcommands(
            CompletionCommand(name = "completion")
        )
    }

    override suspend fun run() {
        ...
    }
}

subcommand only accepts suspending commands. Is there a way I can still integrate it?

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 a pull request may close this issue.

1 participant