apexatoll / aoc-cli

Command line interface for Advent of Code, built in Ruby using Kangaru
MIT License
55 stars 2 forks source link

Better handling of the session= error #5

Closed yspreen closed 3 years ago

yspreen commented 3 years ago

I had the same issue as #1

The problem is, once you set the session wrong, doing it with the right format results in

> aoc -k 'session=53616c...'
wrong number of arguments (given 0, expected 1)

I think the aoc -k command should check for the right format. The error message showcased in #1 should also be more informative

apexatoll commented 3 years ago

Thanks for the feedback - there is an update coming in the next couple of days with some more features, one of which being better key validation