From cf14306c2b3f82a81f8d56669a71633b4d4b5fce Mon Sep 17 00:00:00 2001
From: marvin-borner@live.com
Date: Mon, 16 Apr 2018 21:09:05 +0200
Subject: Main merge to user management system - files are now at /main/public/
---
main/app/system/Bakery/Command/Bake.php | 77 +++++++++++++++++++++++++++++++++
1 file changed, 77 insertions(+)
create mode 100755 main/app/system/Bakery/Command/Bake.php
(limited to 'main/app/system/Bakery/Command/Bake.php')
diff --git a/main/app/system/Bakery/Command/Bake.php b/main/app/system/Bakery/Command/Bake.php
new file mode 100755
index 0000000..5dc0e27
--- /dev/null
+++ b/main/app/system/Bakery/Command/Bake.php
@@ -0,0 +1,77 @@
+setName("bake")
+ ->setDescription("UserFrosting installation command")
+ ->setHelp("This command combine the debug, migrate and build-assets commands.");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function execute(InputInterface $input, OutputInterface $output)
+ {
+ $this->io->writeln("{$this->title}");
+
+ $command = $this->getApplication()->find('setup');
+ $command->run($input, $output);
+
+ $command = $this->getApplication()->find('debug');
+ $command->run($input, $output);
+
+ $command = $this->getApplication()->find('migrate');
+ $command->run($input, $output);
+
+ $command = $this->getApplication()->find('create-admin');
+ $command->run($input, $output);
+
+ $command = $this->getApplication()->find('build-assets');
+ $command->run($input, $output);
+
+ $command = $this->getApplication()->find('clear-cache');
+ $command->run($input, $output);
+ }
+}
\ No newline at end of file
--
cgit v1.2.3