Example #1
0
        private static CliApplicationBuilder ConfigureTools(this CliApplicationBuilder b)
        {
            b = b.WithTool <DirectoryAliaserTool>()
                .WithTool <CommandAliaserTool>();

            if (OperatingSystem.IsWindows())
            {
                b = b.WithTool <AttachTool>()
                    .WithTool <RobocopyTool>()
                    .WithTool <SuTool>()
                    .WithTool <SudoTool>();
            }

            return(b);
        }