change command line for creating new administrator

This commit is contained in:
Manuel Raynaud
2013-10-30 14:46:21 +01:00
parent 7caa0a10e6
commit c327b20fd6
3 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ class CreateAdminUser extends ContainerAwareCommand
protected function configure()
{
$this
->setName("thelia:create-admin")
->setName("admin:create")
->setDescription("Create a new adminsitration user")
->setHelp("The <info>thelia:create-admin</info> command create a new administration user.")
->addOption(

View File

@@ -26,7 +26,7 @@ if exist local\config\database.yml (
php install\faker.php
echo [INFO] Adding admin
php Thelia thelia:create-admin
php Thelia admin:create
echo [SUCCESS] Reset done
)

View File

@@ -32,7 +32,7 @@ echo -e "\n\033[01;34m[INFO] Installing fixtures\033[00m\n"
php install/faker.php
echo -e "\n\033[01;34m[INFO] Adding admin\033[00m\n"
php Thelia thelia:create-admin --login_name thelia2 --password thelia2 --last_name thelia2 --first_name thelia2
php Thelia admin:create --login_name thelia2 --password thelia2 --last_name thelia2 --first_name thelia2
echo -e "\n\033[01;34m[INFO] Clearing caches\033[00m\n"
php Thelia cache:clear