Browse Source

docs(ascii-art): improve readmes

pull/2600/head
miguel 5 months ago committed by MSilva95
parent
commit
5ff35e3cba
  1. 6
      subjects/ascii-art/fs/README.md
  2. 13
      subjects/ascii-art/output/README.md

6
subjects/ascii-art/fs/README.md

@ -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 $
| | | | | | | $

13
subjects/ascii-art/output/README.md

@ -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

Loading…
Cancel
Save