added shortcuts + added /public_html/view folder
This commit is contained in:
parent
9ec5a2ed04
commit
14524c54ed
|
@ -34,7 +34,7 @@
|
|||
|
||||
/* (1) Packages listing
|
||||
---------------------------------------------------------*/
|
||||
case 'packages': {
|
||||
case 'packages': case 'p': {
|
||||
|
||||
echo "available packages:\n";
|
||||
$packages = $exporter->available();
|
||||
|
@ -55,7 +55,7 @@
|
|||
|
||||
/* (2) Enables a package and its version
|
||||
---------------------------------------------------------*/
|
||||
case 'install': {
|
||||
case 'install': case 'i': {
|
||||
|
||||
if( $arglen < 2 || !preg_match("/^([^:]+)(:(?:[0-9\.-]+))?$/i", $arguments[1], $matches) ){
|
||||
echo "You must specify @package:@version.\n";
|
||||
|
@ -72,7 +72,7 @@
|
|||
|
||||
/* (3) Disabled a package
|
||||
---------------------------------------------------------*/
|
||||
case 'remove': {
|
||||
case 'remove': case 'r': {
|
||||
|
||||
if( $arglen < 2 ){
|
||||
echo "You must specify @package.\n";
|
||||
|
@ -89,7 +89,7 @@
|
|||
|
||||
/* (3) Builds a project
|
||||
---------------------------------------------------------*/
|
||||
case 'build': {
|
||||
case 'build': case 'b': {
|
||||
|
||||
if( $arglen < 2 || !is_dir($arguments[1]) ){
|
||||
echo "You must specify your project root's @path.\n";
|
||||
|
|
Loading…
Reference in New Issue