From 98ca66ebc5c24b5805680ea648014c46eda771d9 Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Tue, 12 Aug 2014 16:43:12 -0700 Subject: [PATCH] Renamed the new project command class (NewCommand => NewProjectCommand) --- .../Grav/Console/{NewCommand.php => NewProjectCommand.php} | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) rename system/src/Grav/Console/{NewCommand.php => NewProjectCommand.php} (91%) diff --git a/system/src/Grav/Console/NewCommand.php b/system/src/Grav/Console/NewProjectCommand.php similarity index 91% rename from system/src/Grav/Console/NewCommand.php rename to system/src/Grav/Console/NewProjectCommand.php index 4c2687b3f..4518943e6 100644 --- a/system/src/Grav/Console/NewCommand.php +++ b/system/src/Grav/Console/NewProjectCommand.php @@ -10,12 +10,11 @@ use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Formatter\OutputFormatterStyle; use \Symfony\Component\Yaml\Yaml; -class NewCommand extends Command { +class NewProjectCommand extends Command { protected function configure() { $this - ->setName("new") - ->setAliases(array('new-project')) + ->setName("new-project") ->addArgument( 'destination', InputArgument::REQUIRED, @@ -27,7 +26,7 @@ class NewCommand extends Command { InputOption::VALUE_NONE, 'Symlink the required bits' ) - ->setDescription("Handles setting up a new Instance of Grav") + ->setDescription("Creates a new Grav project with all the dependencies included") ->setHelp('The new command provides clone and symlink installation chores'); }