Ascii-art is a program which consists in receiving a string as an argument and outputting the string in a graphic representation using ASCII.
The usage must respect this format:
go run . [STRING]
Any other formats will return the following usage message:
Usage: go run . [STRING]
EX: go run . something
student$ go run . "" | cat -e
student$ go run . "\n" | cat -e
$
student$ go run . "Hello\n" | cat -e
_ _ _ _ $
| | | | | | | | $
| |__| | ___ | | | | ___ $
| __ | / _ \ | | | | / _ \ $
| | | | | __/ | | | | | (_) | $
|_| |_| \___| |_| |_| \___/ $
$
$
$
student$ go run . "hello" | cat -e
_ _ _ $
| | | | | | $
| |__ ___ | | | | ___ $
| _ \ / _ \ | | | | / _ \ $
| | | | | __/ | | | | | (_) | $
|_| |_| \___| |_| |_| \___/ $
$
$
student$ go run . "HeLlO" | cat -e
_ _ _ _ ____ $
| | | | | | | | / __ \ $
| |__| | ___ | | | | | | | | $
| __ | / _ \ | | | | | | | | $
| | | | | __/ | |____ | | | |__| | $
|_| |_| \___| |______| |_| \____/ $
$
$
student$ go run . "Hello There" | cat -e
_ _ _ _ _______ _ $
| | | | | | | | |__ __| | | $
| |__| | ___ | | | | ___ | | | |__ ___ _ __ ___ $
| __ | / _ \ | | | | / _ \ | | | _ \ / _ \ | '__| / _ \ $
| | | | | __/ | | | | | (_) | | | | | | | | __/ | | | __/ $
|_| |_| \___| |_| |_| \___/ |_| |_| |_| \___| |_| \___| $
$
$
student$ go run . "1Hello 2There" | cat -e
_ _ _ _ _______ _ $
_ | | | | | | | | ____ |__ __| | | $
/ | | |__| | ___ | | | | ___ |___ \ | | | |__ ___ _ __ ___ $
| | | __ | / _ \ | | | | / _ \ __) | | | | _ \ / _ \ | '__| / _ \ $
| | | | | | | __/ | | | | | (_) | / __/ | | | | | | | __/ | | | __/ $
|_| |_| |_| \___| |_| |_| \___/ |_____| |_| |_| |_| \___| |_| \___| $
$
$
student$ go run . "{Hello There}" | cat -e
__ _ _ _ _ _______ _ __ $
/ / | | | | | | | | |__ __| | | \ \ $
| | | |__| | ___ | | | | ___ | | | |__ ___ _ __ ___ | | $
/ / | __ | / _ \ | | | | / _ \ | | | _ \ / _ \ | '__| / _ \ \ \ $
\ \ | | | | | __/ | | | | | (_) | | | | | | | | __/ | | | __/ / / $
| | |_| |_| \___| |_| |_| \___/ |_| |_| |_| \___| |_| \___| | | $
\_\ /_/ $
$
student$ go run . "Hello\nThere" | cat -e
_ _ _ _ $
| | | | | | | | $
| |__| | ___ | | | | ___ $
| __ | / _ \ | | | | / _ \ $
| | | | | __/ | | | | | (_) | $
|_| |_| \___| |_| |_| \___/ $
$
$
_______ _ $
|__ __| | | $
| | | |__ ___ _ __ ___ $
| | | _ \ / _ \ | '__| / _ \ $
| | | | | | | __/ | | | __/ $
|_| |_| |_| \___| |_| \___| $
$
$