<commit_before>using CommandLine;

namespace OctopusPuppet.Cmd
{
    [Verb("BranchDeployment", HelpText = @"Install branch if it exists; otherwise master to environment.")]
    class BranchDeploymentOptions
    {
        [Option("OctopusUrl",
            Required = true,
            SetName = "BranchDeployment",
            HelpText = "The url to the octopus server e.g. 'http://octopus.test.com/'")]
        public string OctopusUrl { get; set; }

        [Option("OctopusApiKey",
            Required = true,
            SetName = "BranchDeployment",
            HelpText = "The api key for the octopus server e.g. '<KEY>'")]
        public string OctopusApiKey { get; set; }

        [Option("ComponentFilterPath",
            SetName = "BranchDeployment",
            HelpText = "Component filter path.")]
        public string ComponentFilterPath { get; set; }

        [Option("ComponentFilter",
            SetName = "BranchDeployment",
            HelpText = "Component filter json base64 encoded.")]
        public string ComponentFilter { get; set; }

        [Option("Branch",
            Required = true,
            SetName = "BranchDeployment",
            HelpText = "The branch to deploy from.")]
        public string Branch { get; set; }

        [Option("TargetEnvironment",
            Required = true,
            SetName = "BranchDeployment",
            HelpText = "The environment to deploy to.")]
        public string TargetEnvironment { get; set; }

        [Option('d', "Deploy",
            SetName = "BranchDeployment",
            Default = false,
            HelpText = "Deploy")]
        public bool Deploy { get; set; }

        [Option('s', "HideDeploymentProgress",
            SetName = "BranchDeployment",
            Default = true,
            HelpText = "Hide deployment progress")]
        public bool HideDeploymentProgress { get; set; }

        [Option('p', "MaximumParallelDeployments",
            SetName = "BranchDeployment",
            Default = 4,
            HelpText = "Maximum parallel deployments")]
        public int MaximumParalleDeployments { get; set; }

        [Option("EnvironmentDeploymentPath",
            Required = false,
            Default = "",
            SetName = "BranchDeployment",
            HelpText = "Environment Deployment path to save to.")]
        public string EnvironmentDeploymentPath { get; set; }
    }
}<commit_msg>Leaving branch empty is valid. This will be the same as getting Master.<commit_after>using CommandLine;

namespace OctopusPuppet.Cmd
{
    [Verb("BranchDeployment", HelpText = @"Install branch if it exists; otherwise master to environment.")]
    class BranchDeploymentOptions
    {
        [Option("OctopusUrl",
            Required = true,
            SetName = "BranchDeployment",
            HelpText = "The url to the octopus server e.g. 'http://octopus.test.com/'")]
        public string OctopusUrl { get; set; }

        [Option("OctopusApiKey",
            Required = true,
            SetName = "BranchDeployment",
            HelpText = "The api key for the octopus server e.g. '<KEY>'")]
        public string OctopusApiKey { get; set; }

        [Option("ComponentFilterPath",
            SetName = "BranchDeployment",
            HelpText = "Component filter path.")]
        public string ComponentFilterPath { get; set; }

        [Option("ComponentFilter",
            SetName = "BranchDeployment",
            HelpText = "Component filter json base64 encoded.")]
        public string ComponentFilter { get; set; }

        [Option("Branch",
            SetName = "BranchDeployment",
            HelpText = "The branch to deploy from.")]
        public string Branch { get; set; }

        [Option("TargetEnvironment",
            Required = true,
            SetName = "BranchDeployment",
            HelpText = "The environment to deploy to.")]
        public string TargetEnvironment { get; set; }

        [Option('d', "Deploy",
            SetName = "BranchDeployment",
            Default = false,
            HelpText = "Deploy")]
        public bool Deploy { get; set; }

        [Option('s', "HideDeploymentProgress",
            SetName = "BranchDeployment",
            Default = true,
            HelpText = "Hide deployment progress")]
        public bool HideDeploymentProgress { get; set; }

        [Option('p', "MaximumParallelDeployments",
            SetName = "BranchDeployment",
            Default = 4,
            HelpText = "Maximum parallel deployments")]
        public int MaximumParalleDeployments { get; set; }

        [Option("EnvironmentDeploymentPath",
            Required = false,
            Default = "",
            SetName = "BranchDeployment",
            HelpText = "Environment Deployment path to save to.")]
        public string EnvironmentDeploymentPath { get; set; }
    }
}
{'fraction_non_alphanumeric': 0.10398184443985971, 'fraction_numerical': 0.0012378791004745203, 'mean_word_length': 2.1116816431322207, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '247428', 'n_tokens_mistral': 1245, 'n_tokens_neox': 1221, 'n_words': 360}