microsoft / PowerShellForGitHub

Microsoft PowerShell wrapper for GitHub API
Other
582 stars 184 forks source link

Add toggle for Discussions in Repositories #378

Closed variableresistor closed 1 year ago

variableresistor commented 1 year ago

Feature Idea Summary

Allow the user to disable Discussions in Github repositories

Feature Idea Additional Details

There's a relatively new feature in repos to toggle Discussions. Add functionality to toggle this.

Requested Assignment

If possible, I would like to implement this.

Operating System

OsName : Microsoft Windows 10 Enterprise OsOperatingSystemSKU : EnterpriseEdition OsArchitecture : 64-bit WindowsVersion : 2009 WindowsBuildLabEx : 19041.1.amd64fre.vb_release.191206-1406 OsLanguage : en-US OsMuiLanguages : {en-US}

PowerShell Version

PSVersion 7.2.6 PSEdition Core GitCommitId 7.2.6 OS Microsoft Windows 10.0.19044 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0

Module Version

Running: 0.16.1 Installed: 0.16.1

Reference Links

https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#update-a-repository