day 3 in the books; add a template starter
This commit is contained in:
3
today.sh
3
today.sh
@@ -15,4 +15,7 @@ if [ ! -f "${padded}/inputs/input" ]; then
|
||||
-A "https://git.yetaga.in/alazyreader/AdventOfCode${__year}/" \
|
||||
-H "Cookie: session=`cat .cookie`" https://adventofcode.com/${__year}/day/${__day##0}/input > "${padded}/inputs/input"
|
||||
fi
|
||||
if [ ! -f "${padded}/index.ts" ]; then
|
||||
cp index.tmpl.ts ${padded}/index.ts
|
||||
fi
|
||||
open "https://adventofcode.com/${__year}/day/${__day##0}"
|
||||
|
Reference in New Issue
Block a user