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 ### Usage
```console ```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 $ 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 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. Additionally, the program must still be able to run with a single `[STRING]` argument.
### Instructions ### Instructions
@ -26,8 +26,8 @@ Additionally, the program must still be able to run with a single `[STRING]` arg
### Usage ### Usage
```console ```console
$ go run . --output=banner.txt "hello" standard student$ go run . --output=banner.txt "hello" standard
$ cat -e banner.txt student$ cat -e banner.txt
_ _ _ $ _ _ _ $
| | | | | | $ | | | | | | $
| |__ ___ | | | | ___ $ | |__ ___ | | | | ___ $
@ -36,9 +36,8 @@ $ cat -e banner.txt
|_| |_| \___| |_| |_| \___/ $ |_| |_| \___| |_| |_| \___/ $
$ $
$ $
$ student$ go run . --output=banner.txt 'Hello There!' shadow
$ go run . --output=banner.txt 'Hello There!' shadow student$ cat -e banner.txt
$ cat -e banner.txt
$ $
_| _| _| _| _|_|_|_|_| _| _| $ _| _| _| _| _|_|_|_|_| _| _| $
_| _| _|_| _| _| _|_| _| _|_|_| _|_| _| _|_| _|_| _| $ _| _| _|_| _| _| _|_| _| _|_|_| _|_| _| _|_| _|_| _| $
@ -47,7 +46,7 @@ _| _| _| _| _| _| _| _| _| _| _| _| _|
_| _| _|_|_| _| _| _|_| _| _| _| _|_|_| _| _|_|_| _| $ _| _| _|_|_| _| _| _|_| _| _| _| _|_|_| _| _|_|_| _| $
$ $
$ $
$ student$
``` ```
### Allowed packages ### Allowed packages