BMSTU-Schedule / bmstu-schedule-parser

BMSTU Schedule iCal generator for terminal
https://pypi.org/project/bmstu-schedule/
GNU Affero General Public License v3.0
25 stars 2 forks source link

semester_first_monday command line argument #2

Closed Nikita-Boyarskikh closed 6 years ago

Nikita-Boyarskikh commented 6 years ago
gabolaev commented 6 years ago

1) There is a way to parse it from somewhere, but from where?

gabolaev commented 6 years ago
  1. Maybe it's better to set help info of how user should pass semester_first_monday. Like "set it please as dd-mm-yyyy"
stek29 commented 6 years ago

zaebali viebivatsya, pishite ra russkom

Nikita-Boyarskikh commented 6 years ago

@gabolaev, 2. one does not exclude the other :)

gabolaev commented 6 years ago

@Nikita-Boyarskikh yeah, i meant the thing you add in "edited" :)

gabolaev commented 6 years ago

@Nikita-Boyarskikh i'll add it soon, thanks

Nikita-Boyarskikh commented 6 years ago

@gabolaev, in "edited" I wrote a version of date parser. It does not exclude one more line about it in help message

Nikita-Boyarskikh commented 6 years ago

@gabolaev, see https://docs.python.org/3/library/argparse.html#type

gabolaev commented 6 years ago

thanx