using CliFx;

return await new CliApplicationBuilder()
    .AddCommandsFromThisAssembly()
    .SetExecutableName("otopcua-focas-cli")
    .SetDescription(
        "OtOpcUa FOCAS test-client — ad-hoc probe + PMC/param/macro reads + polled " +
        "subscriptions against Fanuc CNCs via the FOCAS/2 protocol. Uses the managed " +
        "WireFocasClient on TCP:8193 directly; no native dependencies. Addresses use " +
        "FocasAddressParser syntax: R100, X0.0, PARAM:1815/0, MACRO:500.")
    .Build()
    .RunAsync(args);
