Badgerati / Fudge

Fudge is a PowerShell tool to help manage software packages via Chocolatey for specific development projects. Think NPM and Bower, but for Chocolatey
MIT License
21 stars 3 forks source link

Ability to create new empty Fudgefile, or one from a nuspec #6

Closed Badgerati closed 7 years ago

Badgerati commented 7 years ago

Add the ability for fudge to create new empty Fudgefiles by typing:

fudge new

This will create basic template. If the -fp argument is passed, an empty template will be create there.

Typing:

fudge new ./path/to/tool.nuspec

will create a basic Fudgefile, but will auto-populate the packages with the dependencies from the nuspec; and will add the nuspec to the packs section of the new Fudgefile.

Of course, if a file already exists at the location then error - do not overwrite