Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 236 Bytes
#!/usr/bin/python3
from todo.utils import open_day
import sys
try:
open_day(int(sys.argv[1]))
except ValueError:
print("Argument must be an integer")
except IndexError:
print("Please specify the number of days from today")