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 NoOpCliktCommand #554

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

Suspending version of NoOpCliktCommand #554

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

Comments

@cmdjulian
Copy link

Hey,
In the blocking non-suspending world, we have the following NoOpCliktCommand command if we simply wanna use it as a container per se for different sub modules.
Is there an equivalent for the suspending world? Something like the following for instance?

abstract class NoOpSuspendingCliktCommand(name: String? = null) : SuspendingCliktCommand(name) {
    override suspend fun run() = Unit
}

Thanks in advance :)

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