using CliFx;

return await new CliApplicationBuilder()
    .AddCommandsFromThisAssembly()
    .SetExecutableName("otopcua-s7-cli")
    .SetDescription(
        "OtOpcUa S7 test-client — ad-hoc probe + S7comm reads/writes + polled subscriptions " +
        "against Siemens S7-300 / S7-400 / S7-1200 / S7-1500 (and compatible soft-PLCs) via " +
        "S7.Net / ISO-on-TCP port 102. Addresses use S7.Net syntax: DB1.DBW0, M0.0, IW4, QD8.")
    .Build()
    .RunAsync(args);
