Tuesday, August 6, 2024

nina args

class Options {

            [Option(shortName: 'p', longName: "profileid", Required = false, HelpText = "Load profile by given id at startup.")]

            public string? ProfileId { get; set; }


            [Option(shortName: 's', longName: "sequencefile", Required = false, HelpText = "Load a sequence file at startup.")]

            public string? SequenceFile { get; set; }


            [Option(shortName: 'r', longName: "runsequence", Default = false, HelpText = "Automatically start a sequence loaded with -s and switch to Imaging tab.")]

            public bool RunSequence { get; set; }


            [Option(shortName: 'x', longName: "exitaftersequence", Default = false, HelpText = "Automatically exit the application after the sequence has been finished.")]

            public bool ExitAfterSequence { get; set; }


            [Option(shortName: 'd', longName: "debug", Default = false, HelpText = "Activates Debug Mode in the application, revealing additional UI elements and features that are available only for development and testing purposes. This mode is intended to assist developers and testers in diagnosing issues, understanding application flow, and verifying UI elements that are not accessible in the standard operation mode.")]

            public bool Debug { get; set; }

        }

No comments:

Post a Comment