← Back to index
function main

Utility to create boilerplate files for a puzzle day.

Examples
🔗

Example 1

This requires the SESSION environment variable to be set. Get your session cookie from your browser. Use this like deno run -A main.ts --string if the input of the day is based on strings, or deno run -A main.ts --number if the input of the day is based on numbers. By default, the current day and year are used, but you can specify a different day and year with deno run -A main.ts --day 1 --year 2020.

Parameters
Return Type
🔗
Promise<void>