Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add --submit <part> option to cargo solve #25

Merged
merged 8 commits into from
Oct 21, 2023
Merged

Conversation

fspoettel
Copy link
Owner

@fspoettel fspoettel commented Dec 7, 2022

closes #19.

Changes:

  • cargo solve now accepts a --submit <part> argument. When set and aoc-cli configured, the solution will be submitted if it is a Some().
  • cargo solve now accepts single digits for the argument day (previously, only format 06 worked).
  • The --year flag has been removed from commands. Instead, year can be set in .config/cargo.toml and will be applied for all interactions where it is relevant.

Todo:

  • documentation

@fspoettel fspoettel changed the title feat: add --submit <part> to cargo solve feat: add --submit <part> option to cargo solve Dec 7, 2022
@fspoettel fspoettel marked this pull request as ready for review October 21, 2023 12:37
@fspoettel fspoettel merged commit d10ec05 into main Oct 21, 2023
2 checks passed
@fspoettel fspoettel deleted the feat/solve-submit branch October 21, 2023 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow solve to automatically submit inputs
1 participant