My Advent of Code solutions for 2024. Developed with oclif/Typescript/Node.
Displayed for research purposes only. If you use these solutions, you are cheating!
$ npm install -g aoc24
$ aoc24 COMMAND
running command...
$ aoc24 (--version)
aoc24/0.0.0 darwin-arm64 node-v20.15.0
$ aoc24 --help [COMMAND]
USAGE
$ aoc24 COMMAND
...
aoc24 day 1 [FILE]
aoc24 day 2 [FILE]
aoc24 day 3 [FILE]
aoc24 day 4 [FILE]
aoc24 day 5 [FILE]
aoc24 help [COMMAND]
aoc24 plugins
aoc24 plugins add PLUGIN
aoc24 plugins:inspect PLUGIN...
aoc24 plugins install PLUGIN
aoc24 plugins link PATH
aoc24 plugins remove [PLUGIN]
aoc24 plugins reset
aoc24 plugins uninstall [PLUGIN]
aoc24 plugins unlink [PLUGIN]
aoc24 plugins update
describe the command here
USAGE
$ aoc24 day 1 [FILE] [-f]
ARGUMENTS
FILE file to read
FLAGS
-f, --force
DESCRIPTION
describe the command here
EXAMPLES
$ aoc24 day 1
See code: src/commands/day/1.ts
describe the command here
USAGE
$ aoc24 day 2 [FILE] [-f]
ARGUMENTS
FILE file to read
FLAGS
-f, --force
DESCRIPTION
describe the command here
EXAMPLES
$ aoc24 day 2
See code: src/commands/day/2.ts
describe the command here
USAGE
$ aoc24 day 3 [FILE] [-f]
ARGUMENTS
FILE file to read
FLAGS
-f, --force
DESCRIPTION
describe the command here
EXAMPLES
$ aoc24 day 3
See code: src/commands/day/3.ts
describe the command here
USAGE
$ aoc24 day 4 [FILE] [-f] [-n <value>]
ARGUMENTS
FILE file to read
FLAGS
-f, --force
-n, --name=<value> name to print
DESCRIPTION
describe the command here
EXAMPLES
$ aoc24 day 4
See code: src/commands/day/4.ts
describe the command here
USAGE
$ aoc24 day 5 [FILE] [-f] [-n <value>]
ARGUMENTS
FILE file to read
FLAGS
-f, --force
-n, --name=<value> name to print
DESCRIPTION
describe the command here
EXAMPLES
$ aoc24 day 5
See code: src/commands/day/5.ts
Display help for aoc24.
USAGE
$ aoc24 help [COMMAND...] [-n]
ARGUMENTS
COMMAND... Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for aoc24.
See code: @oclif/plugin-help
List installed plugins.
USAGE
$ aoc24 plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ aoc24 plugins
See code: @oclif/plugin-plugins
Installs a plugin into aoc24.
USAGE
$ aoc24 plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into aoc24.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the AOC24_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the AOC24_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ aoc24 plugins add
EXAMPLES
Install a plugin from npm registry.
$ aoc24 plugins add myplugin
Install a plugin from a github url.
$ aoc24 plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ aoc24 plugins add someuser/someplugin
Displays installation properties of a plugin.
USAGE
$ aoc24 plugins inspect PLUGIN...
ARGUMENTS
PLUGIN... [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ aoc24 plugins inspect myplugin
See code: @oclif/plugin-plugins
Installs a plugin into aoc24.
USAGE
$ aoc24 plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into aoc24.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the AOC24_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the AOC24_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ aoc24 plugins add
EXAMPLES
Install a plugin from npm registry.
$ aoc24 plugins install myplugin
Install a plugin from a github url.
$ aoc24 plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ aoc24 plugins install someuser/someplugin
See code: @oclif/plugin-plugins
Links a plugin into the CLI for development.
USAGE
$ aoc24 plugins link PATH [-h] [--install] [-v]
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
--[no-]install Install dependencies after linking the plugin.
DESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLES
$ aoc24 plugins link myplugin
See code: @oclif/plugin-plugins
Removes a plugin from the CLI.
USAGE
$ aoc24 plugins remove [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ aoc24 plugins unlink
$ aoc24 plugins remove
EXAMPLES
$ aoc24 plugins remove myplugin
Remove all user-installed and linked plugins.
USAGE
$ aoc24 plugins reset [--hard] [--reinstall]
FLAGS
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
--reinstall Reinstall all plugins after uninstalling.
See code: @oclif/plugin-plugins
Removes a plugin from the CLI.
USAGE
$ aoc24 plugins uninstall [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ aoc24 plugins unlink
$ aoc24 plugins remove
EXAMPLES
$ aoc24 plugins uninstall myplugin
See code: @oclif/plugin-plugins
Removes a plugin from the CLI.
USAGE
$ aoc24 plugins unlink [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ aoc24 plugins unlink
$ aoc24 plugins remove
EXAMPLES
$ aoc24 plugins unlink myplugin
Update installed plugins.
USAGE
$ aoc24 plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
See code: @oclif/plugin-plugins