private static string GetCmdLineArgValue(ChoCommandLineArgParser commandLineArgParser, string switchString, string aliases)
        {
            if (commandLineArgParser.Contains(switchString))
            {
                return(commandLineArgParser[switchString]);
            }

            if (!aliases.IsNullOrWhiteSpace())
            {
                foreach (string alias in aliases.SplitNTrim())
                {
                    if (commandLineArgParser.Contains(alias))
                    {
                        return(commandLineArgParser[alias]);
                    }
                }
            }

            return(null);
        }
        private static string GetCmdLineArgValue(ChoCommandLineArgParser commandLineArgParser, string[] switches)
        {
            foreach (string alias in switches)
            {
                if (commandLineArgParser.Contains(alias))
                {
                    return(alias);
                }
            }

            return(null);
        }
        private static bool HasUsageSwitchSpecified(ChoCommandLineArgParser commandLineArgParser, ChoCommandLineArgObjectAttribute commandLineArgumentsObjectAttribute)
        {
            if (commandLineArgumentsObjectAttribute == null ||
                commandLineArgumentsObjectAttribute.UsageSwitch.IsNullOrWhiteSpace())
            {
                return(false);
            }

            foreach (string usageSwitch in commandLineArgumentsObjectAttribute.UsageSwitch.SplitNTrim())
            {
                if (commandLineArgParser.Contains(usageSwitch))
                {
                    return(true);
                }
            }

            return(false);
        }