WindowsAzure/azure-sdk-tools-xplat — pull request #46 by amitapl (2012-11-29 02:23:12+00:00)
Title: Site custom deployment script generator

Added the command:`azure site deploymentscript` to generate deployment script for a git-enabled site.

It generates batch or bash scripts for different site types:
* asp.net WAP
* asp.new WebSite
* node
* basic/php/python (all the same output)

Usage:
```
help: Generate custom deployment script
help:
help: Usage: site deploymentscript [options]
help:
help: Options:
help: -h, --help output usage information
help: -r, --repositoryRoot [dir path] The root path for the repository (default: .)
help: --aspWAP Create a deployment script for .NET web application, specify the project file path
help: --aspWebSite Create a deployment script for basic website
help: --node Create a deployment script for node.js website
help: --php Create a deployment script for php website
help: --python Create a deployment script for python website
help: --basic Create a deployment script for any other website
help: -s, --solutionFile [file path] The solution file path (sln)
help: -p, --sitePath [directory path] The path to the site being deployed (default: same as repositoryRoot)
help: -t, --scriptType [batch|bash] The script output type (default: batch)
help: -y, --suppressPrompt Suppresses prompting to confirm you want to overwrite an existing destination file.
help: -v, --verbose use verbose output
help: --json use json output
````

Also added unit tests.