docs(ascii-art): improve readmes

This commit is contained in:
miguel 2024-06-19 14:06:55 +01:00 committed by MSilva95
parent 07e39a6878
commit 5ff35e3cba
2 changed files with 9 additions and 10 deletions

View File

@ -24,7 +24,7 @@ Additionally, the program must still be able to run with a single `[STRING]` arg
### Usage
```console
$ go run . "hello" standard | cat -e
student$ go run . "hello" standard | cat -e
_ _ _ $
| | | | | | $
| |__ ___ | | | | ___ $
@ -33,7 +33,7 @@ $ go run . "hello" standard | cat -e
|_| |_| \___| |_| |_| \___/ $
$
$
$ go run . "Hello There!" shadow | cat -e
student$ go run . "Hello There!" shadow | cat -e
$
_| _| _| _| _|_|_|_|_| _| _| $
_| _| _|_| _| _| _|_| _| _|_|_| _|_| _| _|_| _|_| _| $
@ -42,7 +42,7 @@ _| _| _| _| _| _| _| _| _| _| _| _| _|
_| _| _|_|_| _| _| _|_| _| _| _| _|_|_| _| _|_|_| _| $
$
$
$ go run . "Hello There!" thinkertoy | cat -e
student$ go run . "Hello There!" thinkertoy | cat -e
$
o o o o o-O-o o o $
| | | | | | | $

View File

@ -14,7 +14,7 @@ Usage: go run . [OPTION] [STRING] [BANNER]
EX: go run . --output=<fileName.txt> something standard
```
If there are other `ascii-art` optional projects implemented, the program should accept other correctly formatted `[OPTION]` and/or `[BANNER]`.
If there are other `ascii-art` optional projects implemented, the program should accept other correctly formatted `[OPTION]` and/or `[BANNER]`.
Additionally, the program must still be able to run with a single `[STRING]` argument.
### Instructions
@ -26,8 +26,8 @@ Additionally, the program must still be able to run with a single `[STRING]` arg
### Usage
```console
$ go run . --output=banner.txt "hello" standard
$ cat -e banner.txt
student$ go run . --output=banner.txt "hello" standard
student$ cat -e banner.txt
_ _ _ $
| | | | | | $
| |__ ___ | | | | ___ $
@ -36,9 +36,8 @@ $ cat -e banner.txt
|_| |_| \___| |_| |_| \___/ $
$
$
$
$ go run . --output=banner.txt 'Hello There!' shadow
$ cat -e banner.txt
student$ go run . --output=banner.txt 'Hello There!' shadow
student$ cat -e banner.txt
$
_| _| _| _| _|_|_|_|_| _| _| $
_| _| _|_| _| _| _|_| _| _|_|_| _|_| _| _|_| _|_| _| $
@ -47,7 +46,7 @@ _| _| _| _| _| _| _| _| _| _| _| _| _|
_| _| _|_|_| _| _| _|_| _| _| _| _|_|_| _| _|_|_| _| $
$
$
$
student$
```
### Allowed packages