Conversation
…16) * feat: added a new --fetch flag to the 'new' command, to directly fetch the input from the AoC website * feat: extract the AoC cookie env name to a constant + use envoy instead of the soon-to-be-deprecated os.getenv * feat: do the input fetching in the create_input_file step * feat: use a guard instead to avoid having another argument to the case * style: code formatting * feat: handle non-200 http response while fetching input * feat: use request builder to build the request to fetch the input * feat: add a user-agent when sending request to AoC to be in line with official AoC recommendations * feat: check if the input file already exists when trying to fetch it and return an error without trying to downloading it again if that's the case * chore: better output FailedToWriteToFile error message * chore: call simplifile.file_info to ensure the pre-existence of the input file before fetching it, instead of calling both is_file and is_directory
* feat: add timed flag to measure solution time * rename time to execution_time * feat: always measure exec time and only print when flag enabled * feat: show time measurement in different units * refactor: use /. operator * test: format_float unit test
* remove package-interface bug workaround, require gleam >=1.9 * move ffi file * bump parallel_map dep
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.