using CliFx; return await new CliApplicationBuilder() .AddCommandsFromThisAssembly() .SetExecutableName("otopcua-twincat-cli") .SetDescription( "OtOpcUa TwinCAT test-client — ad-hoc probe + ADS symbolic reads/writes + " + "subscriptions against Beckhoff TwinCAT 2/3 runtimes. Requires a reachable AMS " + "router (local TwinCAT XAR or the Beckhoff.TwinCAT.Ads.TcpRouter NuGet). Addresses " + "use symbolic paths: MAIN.bStart, GVL.Counter, Motor1.Status.Running.") .Build() .RunAsync(args);