blob: 9ec3359189143f7177c185a8d5ef26d594420556 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# myal - My Anime Library
My Anime Library is cli-tool to manage an anime watchlist, written in C.
I used to track which anime I have watched and what episode I'm on by writing in
a text file, which got annoying after a while.
This is why I created a simple program to quickly search and change a
csv file.
Is it a complete overkill to write this in C? Yes
Could this have been a simple bash script? Definitely
But why not?
This cli-tool works with csv files in the format
name,episode
For example:
Samurai Champloo,14
Bakemonogatari,done
Steins; Gate,1
and so on. The episode is actually stored as a string, so you can put "done" or
"abandoned" or anything else you want in there. Allows for a maximum length of
11.
You need to set your filepath in the main.c, but everything else should work
out of the box.
The Makefile uses clang, but you can change it to gcc in the second line. Or
you could simply do
```
gcc -o myal main.c
```
|