Skip to content

Commit

Permalink
Merge pull request #635 from rmdstudio/master
Browse files Browse the repository at this point in the history
Anahita
  • Loading branch information
rmdstudio authored Nov 9, 2022
2 parents ed1d19c + c686453 commit 2ef923c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Console/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,21 @@ public function registerAfter($name, $callback)
*/
public function doRun(InputInterface $input, OutputInterface $output)
{
define('ANPATH_LIBRARIES', ANAHITA_ROOT . '/src/libraries');
require_once (ANPATH_LIBRARIES . '/anahita/anahita.php');

$name = "
_ _ _ _
/ \ _ __ __ _| |__ (_) |_ __ _
/ _ \ | '_ \ / _` | '_ \| | __/ _` |
/ ___ \| | | | (_| | | | | | || (_| |
/_/ \_\_| |_|\__,_|_| |_|_|\__\__,_|
";
$output->writeLn(sprintf('<info>%s</info>', $name));

$version = \Anahita::getVersion();
$output->writeLn(sprintf('<info>v%s</info>', $version));

/*
* Support Iranian women
*/
Expand Down

0 comments on commit 2ef923c

Please sign in to comment.