public override ICommandLineOptions Parse(IEnumerable <string> args)
        {
            var mappings = new Dictionary <string, string>
            {
                { "-f", "file" },
                { "-h", "help" },
                { "-?", "help" },
                { "-e", "endpoint" }
            };

            var options = ApiPortConfiguration.Parse <Options>(args, mappings);

            return(options.Help ? CommonCommands.Help : new ServiceEndpointCommandLineOptions(options, _command));
        }
        public override ICommandLineOptions Parse(IEnumerable <string> args)
        {
            var mappings = new Dictionary <string, string>
            {
                { "-f", "file" },
                { "-h", "help" },
                { "-?", "help" },
                { "-e", "endpoint" },
                { "-o", "out" },
                { "-d", "description" },
                { "-t", "target" },
                { "-r", "resultFormat" },
                { "-p", "showNonPortableApis" },
                { "-b", "showBreakingChanges" },
                { "-u", "showRetargettingIssues" },
                { "-i", "ignoreAssemblyFile" },
                { "-s", "suppressBreakingChange" },
            };

            var options = ApiPortConfiguration.Parse <Options>(args, mappings);

            return(options.Help ? CommonCommands.Help : new AnalyzeCommandLineOption(options));
        }