Skip to content

Feature Request: Return command to integrate in existing CLIs #73

@Blackskyliner

Description

@Blackskyliner

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions