Interface IBowireCliCommand

Namespace
Kuestenlogik.Bowire.Cli
Assembly
Kuestenlogik.Bowire.Cli.dll

Auto-discovered CLI subcommand contribution. Implement this on a concrete class in any assembly whose name starts with Kuestenlogik.Bowire and the Bowire CLI will attach the built command to its root at startup — same assembly-scan mechanism BowireProtocolRegistry uses for IBowireProtocol.

Allows scanner / fuzzer / jwt / proxy / and future third-party subcommands to live in their own projects (or even sibling NuGet packages installed via bowire plugin install) instead of being hard-wired into Kuestenlogik.Bowire.Tool. The Tool project shrinks to CLI-glue + the default browser-UI action.

public interface IBowireCliCommand

Properties

Id

Stable identifier for this subcommand — used by the --disable-cli-command <id> flag so operators can skip a contribution at startup. Convention: the subcommand verb ("scan", "fuzz", "jwt", …) so it matches what the user types.

string Id { get; }

Property Value

string

Methods

Build()

Build a Command ready to attach to the root command. Invoked once during CLI bootstrap; the returned command is owned by the root and may not survive a process restart.

Command Build()

Returns

Command