Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1 KB

README.md

File metadata and controls

42 lines (29 loc) · 1 KB

PSharp

Powershell functions to ease the creation of C# files

Synopsis

Powershell commands to manipulate .cs files

Code Example

New-PSharp -Path <path> -FileName <filename>
New-PSharp -Path <path> -FileName <filename> -Overwrite
New-PSharp -Path <path> -FileName <filename> -Using System.Windows.Forms
Update-PSharp -Path <path> -FileName <filename> -UpdateString <NewClassName> -UpdateSection 'Class'

Branches

master

Build status

dev

Build status

Motivation

I love PowerShell and wanted a way to manipulate my .cs files.

Installation

  1. Import the module into PowerShell
Import-Module <PathTo.psm1>