-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
59 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
namespace Rosemary\Command; | ||
|
||
class AboutCommand extends \Symfony\Component\Console\Command\Command { | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
protected function configure() { | ||
$this | ||
->setName('about') | ||
->setDescription('Displays help for a command'); | ||
} | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
protected function execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output) { | ||
|
||
$output->writeln(wordwrap( | ||
file_get_contents(ROOT_DIR . '/Resources/About.text'), | ||
80 | ||
)); | ||
|
||
// $helper = new \Symfony\Component\Console\Helper\DescriptorHelper(); | ||
// $helper->describe($output, $this->getApplication()); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<info> ______ | ||
(_____ \ | ||
_____) )___ ___ _____ ____ _____ ____ _ _ | ||
| __ // _ \ /___) ___ | \(____ |/ ___) | | | | ||
| | \ \ |_| |___ | ____| | | / ___ | | | |_| | | ||
|_| |_\___/(___/|_____)_|_|_\_____|_| \__ | | ||
(____/</info> | ||
|
||
"According to legend, it was draped around the Greek goddess Aphrodite when she rose from the sea, born of Uranus's semen. The Virgin Mary is said to have spread her blue cloak over a white-blossomed rosemary bush when she was resting, and the flowers turned blue. The shrub then became known as the "Rose of Mary"." | ||
|
||
This script should NOT be run as root, but as vagrant | ||
|
||
<comment>Available commands:</comment> | ||
<info>delete</info> Delete an existing project | ||
<info>help</info> Displays help for a command | ||
<info>install</info> Install an existing or create blank project | ||
<info>seed</info> Seed handling | ||
<info>sync</info> Synchronize data from moc-files to local project | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters