Skip to content

Instantly share code, notes, and snippets.

@boki
Created May 12, 2013 18:45
Show Gist options
  • Save boki/5564502 to your computer and use it in GitHub Desktop.
Save boki/5564502 to your computer and use it in GitHub Desktop.
A simple PowerShell implementation to access http://gitignore.io/cli Save as get-gitignore.ps1 in your PoSH script directory for easy access
# Simple PoSH script to access http://gitignore.io/
# Usage: get-gitignore type [type]*
(New-Object System.Net.WebClient).DownloadString("http://gitignore.io/api/" + [string]::Join(",", [string[]]$args))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment