Skip to content

Commit

Permalink
Update execution instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Pérez García-Plaza authored Jul 8, 2017
1 parent 025263d commit 6cff1b8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
# epm
Baby name chooser

# Usage
```
python3 src/elige_por_mi.py
usage: elige_por_mi.py [-h] -a LISTA_1 -b LISTA_2 [-r RANKING_FILE]
elige_por_mi.py: error: the following arguments are required: -a/--list1, -b/--list2
```

```
python3 src/elige_por_mi.py -h
usage: elige_por_mi.py [-h] -a LISTA_1 -b LISTA_2 [-r RANKING_FILE]
Elijo nombre por ti si me das un par de listas.
optional arguments:
-h, --help show this help message and exit
-a LISTA_1, --list1 LISTA_1
lista de 6 nombres
-b LISTA_2, --list2 LISTA_2
lista de 6 nombres
-r RANKING_FILE, --ranking RANKING_FILE
ranking de nombres más usados
```

# Example:
```
python3 src/elige_por_mi.py -a data/lista_1.txt -b data/lista_2.txt
```

0 comments on commit 6cff1b8

Please sign in to comment.