read from file or stdin, add readme
This commit is contained in:
38
README.md
38
README.md
@@ -1,3 +1,39 @@
|
||||
# grassmudhorse.rs
|
||||
|
||||
Grass Mud Horse in Rust
|
||||
Grass Mud Horse in Rust
|
||||
|
||||
help:
|
||||
```shell
|
||||
$ ./target/debug/grassmudhorse -h
|
||||
grassmudhorse.rs v0.1
|
||||
```
|
||||
|
||||
execute from file:
|
||||
```shell
|
||||
$ ./target/debug/grassmudhorse print-110.gmh
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
```
|
||||
|
||||
execute from stdin:
|
||||
```shell
|
||||
$ cat print-110.gmh | ./target/debug/grassmudhorse
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user