I decided I would make it easier for people who wish to create their own stsadm templates. I’ve gone ahead and created a CodePlex project http://www.codeplex.com/customstsadmtemplate) where you can download a starter project based on my custom commands. I thought about doing this as a Visual Studio template but I both didn’t have the time and didn’t think there would be enough demand to create lots of these projects so I figured a simple project would be good enough. The project contains all the base stuff that I’m using in my own commands (I’ve moved some things around though) without all of my custom commands. The nice thing about using this template is that you get lots of validation code for free which makes working with the command line parameters a lot easier (before I built the base classes a large chunk of my code was parameter validation). I put it up on CodePlex so that people can extend it and add to it if desired (I’d like to keep actual commands out of it though).
Speaking of CodePlex – I’m curious to know if people think I should move my custom commands there – is there any interest to contribute to what I’ve done in a community format like CodePlex? If so, please post a comment and let me know.