Skip to content

Commit

Permalink
add help
Browse files Browse the repository at this point in the history
  • Loading branch information
lotfio committed Aug 26, 2020
1 parent d1056f1 commit 25f5c7f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/Conso/Commands/Compile.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php namespace Conso\Commands;

/**
*
* @author <[email protected]>
* @package Conso PHP Console Creator
* @version 2.0.0
Expand Down Expand Up @@ -40,7 +39,12 @@ class Compile extends Command implements CommandInterface
* @var array
*/
protected $help = [

'sub' => [
'init' => 'initialize .json build file'
],
'flags' => [
'--no-shebang' => 'no stub shebang, usefull when invoking phar from http'
]
];

/**
Expand Down Expand Up @@ -120,7 +124,7 @@ public function init(InputInterface $input, OutputInterface $output) : void
/**
* validate build file
*
* @param string
* @param string
* @return void
*/
private function validateBuildFile(array $file) : void
Expand Down Expand Up @@ -160,7 +164,7 @@ private function validateBuildFile(array $file) : void
/**
* create a phar
*
* @param array $rules
* @param array $rules
* @return void
*/
private function createPhar(array $rules, bool $shebang = false) : bool
Expand Down

0 comments on commit 25f5c7f

Please sign in to comment.