Example #1
0
        protected override void GenerateCommandLineCommands(CommandLineBuilder commandLineBuilder)
        {
            commandLineBuilder.AppendSwitch("config");

            commandLineBuilder.AppendFileNameIfNotNull(Key);

            commandLineBuilder.AppendSwitchIfAny("-Set ", Set);

            commandLineBuilder.AppendSwitchIfTrue("-AsPath", AsPath);
        }
Example #2
0
        protected override void GenerateCommandLineCommands(CommandLineBuilder commandLineBuilder)
        {
            commandLineBuilder.AppendSwitch("pack");

            commandLineBuilder.AppendFileNameIfNotNull(File);

            commandLineBuilder.AppendSwitchIfNotNullOrWhiteSpace("-OutputDirectory ", OutputDirectory);

            commandLineBuilder.AppendSwitchIfNotNullOrWhiteSpace("-BasePath ", BasePath);

            commandLineBuilder.AppendSwitchIfTrue("-Verbose", Verbose);

            commandLineBuilder.AppendSwitchIfNotNullOrWhiteSpace("-Version ", Version);

            commandLineBuilder.AppendSwitchIfAny("-Exclude ", Exclude);

            commandLineBuilder.AppendSwitchIfTrue("-Symbols", Symbols);

            commandLineBuilder.AppendSwitchIfTrue("-Tool", Tool);

            commandLineBuilder.AppendSwitchIfTrue("-Build", Build);

            commandLineBuilder.AppendSwitchIfTrue("-NoDefaultExcludes", NoDefaultExcludes);

            commandLineBuilder.AppendSwitchIfTrue("-NoPackageAnalysis", NoPackageAnalysis);

            commandLineBuilder.AppendSwitchIfTrue("-ExcludeEmptyDirectories", ExcludeEmptyDirectories);

            commandLineBuilder.AppendSwitchIfTrue("-IncludeReferencedProjects", IncludeReferencedProjects);

            commandLineBuilder.AppendSwitchIfAny("-Properties ", Properties);

            commandLineBuilder.AppendSwitchIfNotNullOrWhiteSpace("-MinClientVersion ", MinClientVersion);

            commandLineBuilder.AppendSwitchIfNotNullOrWhiteSpace("-MSBuildVersion ", MsBuildVersion);

            commandLineBuilder.AppendSwitchIfNotNullOrWhiteSpace("-Suffix ", Suffix);
        }
Example #3
0
        protected override void GenerateCommandLineCommands(CommandLineBuilder commandLineBuilder)
        {
            commandLineBuilder.AppendSwitch("list");

            commandLineBuilder.AppendFileNameIfNotNull(SearchTerms);

            commandLineBuilder.AppendSwitchIfAny("-Source ", Source);

            commandLineBuilder.AppendSwitchIfTrue("-AllVersions", AllVersions);

            commandLineBuilder.AppendSwitchIfTrue("-Prerelease", Prerelease);

            commandLineBuilder.AppendSwitchIfTrue("-IncludeDelisted", IncludeDelisted);
        }