Source for file index.php
Documentation is available at index.php
* @command-handler $Name$Scaffolder
* @command-handler-description Enter a description here for $Name$Scaffolder...
* @command-handler-header Optional $Name$Scaffolder header information.
* @command-handler-footer
* @command-handler-footer Optional $Name$Scaffolder footer information.
* Runs the $Name$Scaffolder.
* @command-description Runs the $Name$Scaffolder.
* @command-parameter-for $scaffolderFile Argv --Phar Required. The scaffolder Phar file path. This is injected automatically.
* @command-parameter-for $rootPath Argv|ConfigFile --OutputPath|-out Required. The path to create the Windows Azure project structure. This is injected automatically.
* @command-parameter-for $name Argv|ConfigFile|Env --Name|-n Required. The name. This is a sample argument definition.
public function runCommand($scaffolderFile, $rootPath, $name)
// Sample: load Phar (if needed)
$phar = new Phar($scaffolderFile);
// Sample: extract to disk
$this->log('Extracting resources...');
$this->log('Extracted resources.');
// Sample: apply transforms
$this->log('Applying transforms...');
$this->log('Applied transforms.');
|