using CliFx;

return await new CliApplicationBuilder()
    .AddCommandsFromThisAssembly()
    .SetExecutableName("otopcua-ablegacy-cli")
    .SetDescription(
        "OtOpcUa AB Legacy test-client — ad-hoc probe + PCCC N/F/B/L-file reads/writes + " +
        "polled subscriptions against SLC 500 / MicroLogix / PLC-5 devices via libplctag. " +
        "Addresses use PCCC convention: N7:0, F8:0, B3:0/3, L19:0, ST17:0.")
    .Build()
    .RunAsync(args);
