From 14524c54edea26205cab9eee461c83333aadd752 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 12 Dec 2016 01:45:59 +0100 Subject: [PATCH] added shortcuts + added /public_html/view folder --- exporter/main.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exporter/main.php b/exporter/main.php index 4b48982..70c9992 100755 --- a/exporter/main.php +++ b/exporter/main.php @@ -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";