You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.4 KiB

## ascii-art-fs
### Objectives
3 years ago
You must follow the same [instructions](../README.md) as in the first subject but the second argument must be the name of the template. I know some templates may be hard to read, just do not obsess about it. Please...
### Instructions
- Your project must be written in **Go**.
3 years ago
- The code must respect the [**good practices**](../../good-practices/README.md).
- It is recommended that the code should present a **test file**.
3 years ago
- You can see all about the **banners** [here](../).
3 years ago
- The usage must respect this format `go run . [STRING] [BANNER]`, any other formats must return the following usage message:
```console
3 years ago
Usage: go run . [STRING] [BANNER]
3 years ago
EX: go run . something standard
```
5 years ago
3 years ago
### Usage
5 years ago
3 years ago
```console
$ go run . "hello" standard | cat -e
_ _ _ $
| | | | | | $
| |__ ___ | | | | ___ $
| _ \ / _ \ | | | | / _ \ $
| | | | | __/ | | | | | (_) | $
|_| |_| \___| |_| |_| \___/ $
$
$
$ go run . "Hello There!" shadow | cat -e
$
_| _| _| _| _|_|_|_|_| _| $
_| _| _|_| _| _| _|_| _| _|_|_| _|_| _| _|_| _|_| $
_|_|_|_| _|_|_|_| _| _| _| _| _| _| _| _|_|_|_| _|_| _|_|_|_| $
_| _| _| _| _| _| _| _| _| _| _| _| _| $
_| _| _|_|_| _| _| _|_| _| _| _| _|_|_| _| _|_|_| $
$
$
$ 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 o-o o-o $
| | |-' | | | | | | | |-' | |-' $
o o o-o o o o-o o o o o-o o o-o $
$
$
```
3 years ago
### Allowed packages
3 years ago
- Only the [standard Go](https://golang.org/pkg/) packages are allowed
3 years ago
This project will help you learn about :
- The Go file system(**fs**) API
- Data manipulation