mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Add quote
This commit is contained in:
@@ -84,6 +84,7 @@ class OutputsInstructions extends Command
|
|||||||
$this->newLine();
|
$this->newLine();
|
||||||
$this->showLogo();
|
$this->showLogo();
|
||||||
$this->newLine();
|
$this->newLine();
|
||||||
|
$this->newLine();
|
||||||
$this->showLine();
|
$this->showLine();
|
||||||
|
|
||||||
$this->boxed('');
|
$this->boxed('');
|
||||||
@@ -141,6 +142,7 @@ class OutputsInstructions extends Command
|
|||||||
$this->line(sprintf('<fg=%s> |_| |_|_| \___|_| |_|\__, | |_____|_____|_____| </>', $colors[5]));
|
$this->line(sprintf('<fg=%s> |_| |_|_| \___|_| |_|\__, | |_____|_____|_____| </>', $colors[5]));
|
||||||
$this->line(sprintf('<fg=%s> __/ | </>', $colors[6]));
|
$this->line(sprintf('<fg=%s> __/ | </>', $colors[6]));
|
||||||
$this->line(sprintf('<fg=%s> |___/ </>', $colors[7]));
|
$this->line(sprintf('<fg=%s> |___/ </>', $colors[7]));
|
||||||
|
$this->someQuote();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -233,4 +235,18 @@ class OutputsInstructions extends Command
|
|||||||
$this->boxed('');
|
$this->boxed('');
|
||||||
$this->showLine();
|
$this->showLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private function someQuote(): void
|
||||||
|
{
|
||||||
|
$lines = [
|
||||||
|
'Forgive yourself for not being at peace.',
|
||||||
|
'Doesn\'t look like anything to me.',
|
||||||
|
'All the decisive blows are struck left-handed. (strength lies in improvisation)',
|
||||||
|
'Be proud of what you make.',
|
||||||
|
'Be there or forever wonder.',
|
||||||
|
'A year from now you will wish you had started today.'
|
||||||
|
];
|
||||||
|
$random = random_int(0, count($lines)-1);
|
||||||
|
$this->line(sprintf(' "%s"', $lines[$random]));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user