######%##**####*######*##
#%*+++*%*+++++++*%*+++++++*%*
*%++*%#++++++++++*#+*++++++++%
*%++*####*+++*#**++###%#++++++%+
#*+*+:...:+#=:..:-*++++**+++++%=
##*#.-:. .*.. ..:..#++++#*+++*#
=*.=-...*....+*..#+++++%***%
*%-..:+%=......+*+++++%++
##++++++++*#**#*++++++*%
%# +#%*+++++++++++++++++++++#*
#%@%%%##%#**+++++++++++++++++++++++%
%@@@@@#++++++++++++++++++++++++++++#
*%%@@%*++++++++++++++++++++++++++++#*
##*++++++++++++*#%%###*+++++++++#
*#%%%%%%%%** ##+++++++++++++#*
+##++++++++++++#
*#+++++++++++*%
#++++++++++++*#
#+++++++++++++*#
*#++++++++++++++*#
#*++++++++++++++++%+
+%++++++++++++++++++##
#*+++++++++++++++++++*#*
#++++++++++++++++++++++*%#
:#++++++++++++++++++++++++#%*
:#++++++++++++++++++++++++++###
%++++++++++++++++++++++++++++#%
*#+++++#+++++++++++++++++++++++*%+
##*+++*#+++++++++*+*+++++++++++++*##
%+*#+++#+++++++++##*+++++++++++++++*##
#*++#*+%+++++++++**++**++++++++++++++*##
**+++*##*+++++++++%*%*+++++++*%%%%%#*++*##
=#++++++%+++++++++**++*%+++%#++++++++*%++##
#*+++++*#+++++++++#++++++#*+++++++++++*#++#*
*%++++++%*+++++++++%#*##*#++++++++++++++#*+##
#++++++###++++++++*###+#*+++++++++++++++#*+##
#++++++*##%*+++++++%**+**++++++++++++++++#++##
*#++++++#* =#++++++*###++#+++++++++++++++++*++#*
+#+++++## #++++++#**#++#++++++++++++++++++++*#
*#+++++% %*+++++% #++*#++++++++++++++++++++#+
#*++++## %*++++## ##++**+++++++++**++++++++**
%++++*% ##++++%+ #+++#*++++++++*#++++++++*#
+#++++#* *#+++*# *#+++#*++++++++%++++++++*#
##+++*% +#+++## *#+++*#+++++++*#+++++++##
#*+++#* *#+++%= +#++++%+++++++#*++++++%+
%++++% ##++*% +#*+++*#++++++#*++++#**#%#=
*#+++## #%*++*#+* =*#%##+++++#*+++++#*++#*+++++***###%%#%%%##**
*%*+++% *#*#*++#********++++++++**%#+++++*##%#****+++++++++++++++***#%
###**+++## *#*%+++%*###***#############++++++#% *##%#%%%%%####%%#**++*#
*#++++++%# *#+++% ##*########*+++++++*#%+ *#++#
###*##%* *#%%*++%# ##+++++++++*######* *#%#+*%*
#*+++++%* *%#######*# *#%%%%%%##***####
%#****## #*#* ####%%%###
*#%##
Scripts for Advent of Code.
SLH is probably easiest to install with pipx.
$ pipx install git+https://github.com/tjsmart/slhSLH is configured via a configuration file which should be in
the current working directory with the name ./.slh-config.json.
Example file contents:
{
"language": "c"
}| field | required | type | description |
|---|---|---|---|
| language | yes | string | programming language, case-insentive, examples: "c", "python" |
This is the first command you will want to run. It will create src files, download prompts, input and other stuff. Works with a new project, just need to specify a minimal config.
$ slh next --help
usage: slh next [-h]
Generate files for next day/part.
options:
-h, --help show this help message and exitThis is the second command you will want to run. It will run the provided day/part puzzle. By default this will run the latest created puzzle.
$ slh run --help
usage: slh run [-h] [--all] [--days DAYS] [--parts PARTS] [--test] [--count COUNT]
Execute specified solutions, by default the most recent solution is executed.
options:
-h, --help show this help message and exit
--all
--days DAYS
--parts PARTS
--test
--count COUNTThis is the final command you will want to run. It will submit the provided day/part puzzle.
$ slh submit --help
usage: slh submit [-h]
Submit the specified solutions, by default the most recent solution is submitted.
options:
-h, --help show this help message and exit