<?php

namespace Lean\Console\Cli;

use Notes\CLI\Attribute\{Option, Command};
use Psr\Http\Message\{ServerRequestInterface, ResponseInterface};

use Lean\Console\{Lib, };

# https://www.asciiart.eu/text-to-ascii-art
#[Command(description: PHP_EOL . <<<CLI
#[color:gray, bg: black]╔═════════════════════════╗[#]
#[color:gray, bg: black]║  _                      ║[#]
#[color:gray, bg: black]║ | |    ___  __ _ _ __   ║[#]
#[color:gray, bg: black]║ | |   / _ \/ _` | '_ \  ║[#]
#[color:gray, bg: black]║ | |__|  __/ (_| | | | | ║[#]
#[color:gray, bg: black]║ |_____\___|\__,_|_| |_| ║[#]
#[color:gray, bg: black]║                         ║[#]
#[color:gray, bg: black]╚═════════════════════════╝[#]

Try #[color:gray, bg: black]'lean console --help'[#] for more information.
CLI
, command: 'console')]
#[Option(toggle: ['-h', '--help'], description: "Display help for the given command. When no command is given display help for the list command")]
#[Option(toggle: ['-q', '--quiet'], description: "Do not output any message")]
#[Option(toggle: ['-n', '--no-interaction'], description: "Run script without user interaction")]
#[Option(toggle: ['-v', '-vv', '-vvv', '--verbose'], description: "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug", argument: Option::ARGUMENT_OPTIONAL)]
class Console
{
    use Lib\ConsoleControllerTrait;
}