Skip to content

Commit

Permalink
docs: adding example
Browse files Browse the repository at this point in the history
  • Loading branch information
amin authored and zanninso committed Jun 6, 2024
1 parent 064cb43 commit 97ea8ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions subjects/ascii-art/color/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ Usage: go run . [OPTION] [STRING]

EX: go run . --color=<color> <substring to be colored> "something"
```
### Example
```shell
go run . --color=red "kit" "a king kitten have kit"
```
for the above example the substring kit in the word kitten and the word kit at the end should be colored.


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.
Expand Down

0 comments on commit 97ea8ca

Please sign in to comment.