PowerShell/demos/rest.ps1

7 lines
272 B
PowerShell
Raw Normal View History

# Get all repositories from the GitHub API, sort by most pull requests, most stars, most forks, etc.
# Get repo info (json) from the github api
# Convert json to PS object
# Set the private status to false
# Convert back to json
# Push the new json back to the github api