<commit_before>﻿using System;
using Octoposh.Model;
using Octopus.Client.Model;
using System.Collections.Generic;
using System.Linq;

using System.Management.Automation;

namespace Octoposh.Cmdlets
{
    /// <summary>
    /// <para type="Description">Blocks or unblocks a release or set of releases.</para>
    /// </summary>
    /// <summary>
    /// <para type="Description">Blocks or unblocks a release or set of releases.</para>
    /// </summary>
    /// <example>   
    ///   <code>PS C:\> Set-OctopusReleaseStatus -ProjectName MyProject -ReleaseVersion 1.0.0 -Description "Because of reasons"</code>
    ///   <para>Blocks the release [1.0.0] from the project [MyProject] from being deployed with the reson ["Because of reasons"]. Using the "ProjectName" parameter allows you to only block releases in one project at a time. For multiple releases check usage of parameter "Resource"</para>    
    /// </example>
    /// <example>   
    ///   <code>PS C:\> Set-OctopusReleaseStatus -ProjectName MyProject -ReleaseVersion 1.0.0, 2.0.0 -Description "Because of reasons"</code>
    ///   <para>Blocks the releasse [1.0.0],[2.0.0] from the project [MyProject] from being deployed with the reson ["Because of reasons"]. Using the "ProjectName" parameter allows you to only block releases in one project at a time. For multiple releases check usage of parameter "Resource"</para>    
    /// </example>
    /// <example>   
    ///   <code>PS C:\> Set-OctopusReleaseStatus -Resource $ReleaseResource -Description </code>
    ///   <para>Blocks all the releases</para><commit_msg>Fix doc for Set-OctopusReleaseStatus<commit_after>﻿using System;
using Octoposh.Model;
using Octopus.Client.Model;
using System.Collections.Generic;
using System.Linq;

using System.Management.Automation;

namespace Octoposh.Cmdlets
{
    /// <summary>
    /// <para type="synopsis">Blocks or unblocks releases.</para>
    /// </summary>
    /// <summary>
    /// <para type="Description">Blocks or unblocks releases.</para>
    /// </summary>
    /// <example>   
    ///   <code>PS C:\> Set-OctopusReleaseStatus -ProjectName MyProject -ReleaseVersion 1.0.0 -state Blocked -Description "Because of reasons"</code>
    ///   <para>Blocks the release [1.0.0] from the project [MyProject] from being deployed with the reason ["Because of reasons"] </para>    
    /// </example>
    /// <example>   
    ///   <code>PS C:\> Set-OctopusReleaseStatus -ProjectName MyProject -ReleaseVersion 1.0.0, 2.0.0 -Description "Because of reasons"</code>
    ///   <para>Blocks the releases [1.0.0],[2.0.0] from the project [MyProject] from being deployed with the reson ["Because of reasons"] </para>    
    /// </example>
    /// <example>   
    ///   <code>PS C:\> Set-OctopusReleaseStatus-ProjectName MyProject -ReleaseVersion 1.0.0 -state Unblocked </code>
    ///   <para>Unblocks release [1.0.0] from project [MyProject]</para>
{'fraction_non_alphanumeric': 0.14398897692042714, 'fraction_numerical': 0.014467791939373063, 'mean_word_length': 3.0615384615384613, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 59, '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': '7048119', 'n_tokens_mistral': 857, 'n_tokens_neox': 834, 'n_words': 270}