예제 #1
0
        protected override int Execute()
        {
            Reporter.WriteInformation(
                string.Join(
                    Environment.NewLine,
                    string.Empty,
                    Reporter.Colorize(@"                     ___  ", x => x.Insert(19, Bold + Blue)),
                    Reporter.Colorize(@"                    / __| ", x => x.Insert(24, Blue).Insert(19, Cyan)),
                    Reporter.Colorize(@"         ___  ___  | |__  ", x => x.Insert(19, Bold + Green).Insert(8, Dark + Magenta)),
                    Reporter.Colorize(@"        | __|| __| |  _ \ ", x => x.Insert(23, Gray).Insert(22, Yellow).Insert(19, Bold + Gray).Insert(8, Dark + Magenta)),
                    Reporter.Colorize(@"        | _| | _|  | |_| |", x => x.Insert(19, Bold + Yellow).Insert(8, Dark + Magenta)),
                    Reporter.Colorize(@"        |___||_|    \___/ ", x => x.Insert(26, Reset).Insert(19, Bold + Red).Insert(8, Dark + Magenta)),
                    string.Empty));

            return(base.Execute());
        }
예제 #2
0
파일: RootCommand.cs 프로젝트: Golone/Abpro
        protected override int Execute()
        {
            Reporter.WriteInformation(
                string.Join(
                    Environment.NewLine,
                    string.Empty,
                    Reporter.Colorize(@"                     _/\__       ", s => s.Insert(21, AnsiConstants.Bold + AnsiConstants.Gray)),
                    Reporter.Colorize(@"               ---==/    \\      ", s => s.Insert(20, AnsiConstants.Bold + AnsiConstants.Gray)),
                    Reporter.Colorize(@"         ___  ___   |.    \|\    ", s => s.Insert(26, AnsiConstants.Bold).Insert(21, AnsiConstants.Dark).Insert(20, AnsiConstants.Bold + AnsiConstants.Gray).Insert(9, AnsiConstants.Dark + AnsiConstants.Magenta)),
                    Reporter.Colorize(@"        | __|| __|  |  )   \\\   ", s => s.Insert(20, AnsiConstants.Bold + AnsiConstants.Gray).Insert(8, AnsiConstants.Dark + AnsiConstants.Magenta)),
                    Reporter.Colorize(@"        | _| | _|   \_/ |  //|\\ ", s => s.Insert(20, AnsiConstants.Bold + AnsiConstants.Gray).Insert(8, AnsiConstants.Dark + AnsiConstants.Magenta)),
                    Reporter.Colorize(@"        |___||_|       /   \\\/\\", s => s.Insert(33, AnsiConstants.Reset).Insert(23, AnsiConstants.Bold + AnsiConstants.Gray).Insert(8, AnsiConstants.Dark + AnsiConstants.Magenta)),
                    string.Empty));

            return(base.Execute());
        }
예제 #3
0
        protected override int Execute(string[] args)
        {
            Reporter.WriteInformation(
                string.Join(
                    Environment.NewLine,
                    string.Empty,
                    Reporter.Colorize(@"                     _/\__       ", s => s !.Insert(21, Bold + Gray)),
                    Reporter.Colorize(@"               ---==/    \\      ", s => s !.Insert(20, Bold + Gray)),
                    Reporter.Colorize(@"         ___  ___   |.    \|\    ", s => s !.Insert(26, Bold).Insert(21, Dark).Insert(20, Bold + Gray).Insert(9, Dark + Magenta)),
                    Reporter.Colorize(@"        | __|| __|  |  )   \\\   ", s => s !.Insert(20, Bold + Gray).Insert(8, Dark + Magenta)),
                    Reporter.Colorize(@"        | _| | _|   \_/ |  //|\\ ", s => s !.Insert(20, Bold + Gray).Insert(8, Dark + Magenta)),
                    Reporter.Colorize(@"        |___||_|       /   \\\/\\", s => s !.Insert(33, Reset).Insert(23, Bold + Gray).Insert(8, Dark + Magenta)),
                    string.Empty));

            return(base.Execute(args));
        }