Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

How to add named commands when using CreateHostBuilder #173

@brady-kelly

Description

@brady-kelly

Your DI example with CreateHostBuilder only includes a public method command, and other examples use CreateBuilder and app.AddCommand(), but I can't find any api on the host to add commands in a similar way. Is this possible?

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