public static string NpmViewVersion(this ICakeContext context, NpmViewVersionSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }

            AddinInformation.LogVersionInformation(context.Log);
            var tool = new NpmViewVersionTool(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools, context.Log);

            return(tool.Version(settings));
        }
        public static string NpmViewVersion(this ICakeContext context, Action <NpmViewVersionSettings> configurator)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            if (configurator == null)
            {
                throw new ArgumentNullException(nameof(configurator));
            }

            var settings = new NpmViewVersionSettings();

            configurator(settings);
            return(context.NpmViewVersion(settings));
        }