jelle-s/everybody-codes
最新稳定版本:1.0.3
Composer 安装命令:
composer require jelle-s/everybody-codes
包简介
Basic commands for everybody.codes scaffolding
README 文档
README
This repository contains everybody.codes (ec) commands to have the basics for an ec solution project up and running with a single command.
Installation
composer require jelle-s/everybody-codes
Configuration
Following environment variables can/should be configured:
EC_COOKIE: Your advent of code session cookie.
Commands
Init
vendor/bin/ec init 1 1 2022
Description:
Initialise all scaffolding for an ec puzzle solution.
Usage:
init [<part> [<day> [<year>]]]
Arguments:
part The part of the puzzle, defaults to part 1 [default: 1]
day The day of the puzzle, defaults to the current day
year The year of the puzzle, defaults to the current year
Options:
-h, --help Display help for the given command. When no command is given display help for the run command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
InitProject
vendor/bin/ec init-project ~/projects/ec2022 2022
Description:
Initialise all scaffolding for an ec solution project.
Usage:
init-project <dir> [<year>]
Arguments:
dir The directory to create the project in
year The year of the puzzle, defaults to the current year
Options:
-h, --help Display help for the given command. When no command is given display help for the run command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Run [default command]
vendor/bin/ec run 1 1 2022
Description:
Run a puzzle solution.
Usage:
run [<part> [<day> [<year>]]]
Arguments:
part The part of the puzzle, defaults to part 1 [default: 1]
day The day of the puzzle, defaults to the current day
year The year of the puzzle, defaults to the current year
Options:
-h, --help Display help for the given command. When no command is given display help for the run command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-05