Skip to content

Firefly III: a personal finances manager

Add quote

Sander Dorigo166d4bd842ab
diff --git a/app/Console/Commands/System/OutputsInstructions.php b/app/Console/Commands/System/OutputsInstructions.php
index 0c691971bf..6b33d89bbf 100644
--- a/app/Console/Commands/System/OutputsInstructions.php
+++ b/app/Console/Commands/System/OutputsInstructions.php
@@ -84,6 +84,7 @@ class OutputsInstructions extends Command
$this->newLine();
$this->showLogo();
$this->newLine();
+ $this->newLine();
$this->showLine();
$this->boxed('');
@@ -141,6 +142,7 @@ class OutputsInstructions extends Command
$this->line(sprintf('<fg=%s> |_| |_|_| \___|_| |_|\__, | |_____|_____|_____| </>', $colors[5]));
$this->line(sprintf('<fg=%s> __/ | </>', $colors[6]));
$this->line(sprintf('<fg=%s> |___/ </>', $colors[7]));
+ $this->someQuote();
}
/**
@@ -233,4 +235,18 @@ class OutputsInstructions extends Command
$this->boxed('');
$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]));
+ }
}