public static void ChocolateyDisableFeature(this ICakeContext context, string name, ChocolateyFeatureSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            var resolver = new ChocolateyToolResolver(context.FileSystem, context.Environment);
            var runner   = new ChocolateyFeatureToggler(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools, resolver);

            runner.DisableFeature(name, settings);
        }
        protected override void RunTool()
        {
            var tool = new ChocolateyFeatureToggler(FileSystem, Environment, ProcessRunner, Globber, Resolver);

            tool.EnableFeature(Name, Settings);
        }
        public void DisableFeature()
        {
            var tool = new ChocolateyFeatureToggler(FileSystem, Environment, ProcessRunner, Globber, ChocolateyToolResolver);

            tool.DisableFeature(Name, Settings);
        }