public ChocolateyConfiguration()
        {
            RegularOutput = true;
            PromptForConfirmation = true;
            SourceType = SourceType.normal;
            Information = new InformationCommandConfiguration();
            Features = new FeaturesConfiguration();
            NewCommand = new NewCommandConfiguration();
            ListCommand = new ListCommandConfiguration();
            UpgradeCommand = new UpgradeCommandConfiguration();
            SourceCommand = new SourcesCommandConfiguration();
            MachineSources = new List<MachineSourceConfiguration>();
            FeatureCommand = new FeatureCommandConfiguration();
            ApiKeyCommand = new ApiKeyCommandConfiguration();
            PushCommand = new PushCommandConfiguration();
            PinCommand = new PinCommandConfiguration();
#if DEBUG
            AllowUnofficialBuild = true;
#endif
        }
Example #2
0
        public ChocolateyConfiguration()
        {
            RegularOutput         = true;
            PromptForConfirmation = true;
            SourceType            = SourceType.normal;
            Information           = new InformationCommandConfiguration();
            Features       = new FeaturesConfiguration();
            NewCommand     = new NewCommandConfiguration();
            ListCommand    = new ListCommandConfiguration();
            UpgradeCommand = new UpgradeCommandConfiguration();
            SourceCommand  = new SourcesCommandConfiguration();
            MachineSources = new List <MachineSourceConfiguration>();
            FeatureCommand = new FeatureCommandConfiguration();
            ConfigCommand  = new ConfigCommandConfiguration();
            ApiKeyCommand  = new ApiKeyCommandConfiguration();
            PushCommand    = new PushCommandConfiguration();
            PinCommand     = new PinCommandConfiguration();
            Proxy          = new ProxyConfiguration();
#if DEBUG
            AllowUnofficialBuild = true;
#endif
        }