I have an application which already uses commander for CLI commands and which has an "entrypoint" command which I can just call to access all cli commands through.
I would like to integrate the trpc-cli into this but would need to have access to the command object, so I can mount it into my command. Would it be possible to just create and return the command somehow from TrpcCli?
(So I can integrate the existing TRPC Router I have for HTTP into my CLI, w/o refactoring everything to be TRPC-CLI if that makes sense)
I have an application which already uses commander for CLI commands and which has an "entrypoint" command which I can just call to access all cli commands through.
I would like to integrate the trpc-cli into this but would need to have access to the command object, so I can mount it into my command. Would it be possible to just create and return the command somehow from TrpcCli?
(So I can integrate the existing TRPC Router I have for HTTP into my CLI, w/o refactoring everything to be TRPC-CLI if that makes sense)