mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2025-07-11 15:57:00 +02:00
documentacion y pistas de tipo en metodos
This commit is contained in:
parent
03522304fa
commit
bc4e7ed51d
4 changed files with 67 additions and 28 deletions
|
@ -6,6 +6,7 @@ import pickle
|
|||
|
||||
|
||||
def generate_songbook(songs, song_numbers, out_file, dj_engine):
|
||||
'''Generate an HTML file with a sequence of songs.'''
|
||||
# Build the list of songs
|
||||
song_list = []
|
||||
for n in song_numbers:
|
||||
|
@ -24,6 +25,7 @@ def generate_songbook(songs, song_numbers, out_file, dj_engine):
|
|||
|
||||
|
||||
def create_argparser():
|
||||
'''Parse main's arguments.'''
|
||||
parser = latex_scanner.create_argparser()
|
||||
parser.add_argument("--songs", required=True, nargs='+', type=int, help="A list of song numbers to include.")
|
||||
parser.add_argument("--output-file", required=False, nargs=1, default=["misa.html"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue