santa

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 1 Imported by: 0

README

Santa 🎅🏼

A cli to download aoc inputs for those in a hurry or just lazy.

🚀 Get started:
  1. Retrieve your session token from AoC's cookies:

    • Open AoC website.
    • Right-click, select "Inspect Element."
    • Navigate to the "Application" tab.
    • Find and copy the value of the "session" cookie.
  2. Set the session using the following command:

    santa session <session>
    
  3. download input for specific day & pipe it to output file:

    santa day <day> > <file>
    
Example:

To set the session:

santa session abcdefghijklmnopqrstuvwxyz0123456789

To download input for day 1 & save it to input.txt:

santa day 1 > input.txt

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL