using CliFx; return await new CliApplicationBuilder() .AddCommandsFromThisAssembly() .SetExecutableName("otopcua-focas-cli") .SetDescription( "OtOpcUa FOCAS test-client — ad-hoc probe + PMC/param/macro reads/writes + polled " + "subscriptions against Fanuc CNCs via the FOCAS/2 protocol. Requires a real CNC + a " + "licensed Fwlib32.dll on PATH (or next to the executable) — no public simulator " + "exists. Addresses use FocasAddressParser syntax: R100, X0.0, PARAM:1815/0, MACRO:500.") .Build() .RunAsync(args);