예제 #1
0
        private static int RunAsciiDocAndReturnExitCode(AsciiDocOptions opts)
        {
            var examples = CSharpParser.ParseImplementedExamples();

            AsciiDocGenerator.GenerateExampleAsciiDoc(examples);
            return(0);
        }
예제 #2
0
		private static int RunAsciiDocAndReturnExitCode(AsciiDocOptions opts)
		{
			var branchName = !string.IsNullOrEmpty(opts.BranchName)
				? opts.BranchName
				: GetBranchNameFromGit();

			var examples = CSharpParser.ParseImplementedExamples();
			AsciiDocGenerator.GenerateExampleAsciiDoc(examples, branchName);
			return 0;
		}