using CliFx;

return await new CliApplicationBuilder()
    .AddCommandsFromThisAssembly()
    .SetExecutableName("otopcua-modbus-cli")
    .SetDescription(
        "OtOpcUa Modbus test-client — ad-hoc connectivity + register reads/writes + polled " +
        "subscriptions against Modbus-TCP devices. Mirrors the otopcua-cli shape for v1-style " +
        "manual validation against PLCs + the integration fixture. See docs/Driver.Modbus.Cli.md.")
    .Build()
    .RunAsync(args);
