microsoft / PowerShellForGitHub

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

Set-GitHubContent should allow upload of binary files #335

Open StanleyGoldman opened 2 years ago

StanleyGoldman commented 2 years ago

Feature Idea Summary

The current implementation of Set-GitHubContent only allows for text based content to be created. A simple change could allow for any arbitrary file to be uploaded.

Feature Idea Additional Details

Requested Assignment

I will start a PR but will need some guidance.

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

Name Value


PSVersion 7.1.3 PSEdition Core GitCommitId 7.1.3 OS Microsoft Windows 10.0.19043 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.0 Installed: 0.16.0