Example #1
0
        public void Load()
        {
            CommandArguments.Populate();

            Preview               = CommandArguments.Preview;
            Directories           = CommandArguments.Directories;
            DupesDirectory        = CommandArguments.DupesDirectory;
            ExcludeDirectoryNames = CommandArguments.ExcludeDirectoryNames;
            IncludeFileExtensions = CommandArguments.IncludeFileExtensions;
            Clean = CommandArguments.Clean;

            Validate();

            if (string.IsNullOrWhiteSpace(DupesDirectory))
            {
                DupesDirectory = Path.Combine(Directories.First(), DupesDirectoryName);
            }
        }