AoC.CLI (aoc v0.16.1)

View Source

Summary

Functions

color(arg1, arg2)

Delegated to CliMate.CLI.color/2

compile()

custom_defaults()

debug(arg1)

Delegated to CliMate.CLI.debug/1

default_opt(key)

Returns a default value for the --year or --day CLI options.

The current year or day based on today's date will be returned unless a forced default value has been set using mix aoc.set.

defaults_file()

errmsg(e)

error(arg1)

Delegated to CliMate.CLI.error/1

format_usage(arg1)

Delegated to CliMate.CLI.format_usage/1

format_usage(arg1, arg2)

Delegated to CliMate.CLI.format_usage/2

halt()

Delegated to CliMate.CLI.halt/0

halt(arg1)

Delegated to CliMate.CLI.halt/1

halt_error(arg1)

Delegated to CliMate.CLI.halt_error/1

halt_error(arg1, arg2)

Delegated to CliMate.CLI.halt_error/2

halt_success(arg1)

Delegated to CliMate.CLI.halt_success/1

init_env()

parse(arg1, arg2)

Delegated to CliMate.CLI.parse/2

parse_or_halt!(arg1, arg2)

Delegated to CliMate.CLI.parse_or_halt!/2

part_command(module, opts \\ [])

put_shell(arg1)

Delegated to CliMate.CLI.put_shell/1

shell()

Delegated to CliMate.CLI.shell/0

success(arg1)

Delegated to CliMate.CLI.success/1

validate_options!(options)

warn(arg1)

Delegated to CliMate.CLI.warn/1

with_safe_path(arg1, arg2)

Delegated to CliMate.CLI.with_safe_path/2

write(arg1)

Delegated to CliMate.CLI.write/1

write_defaults(defaults)

writeln(arg1)

Delegated to CliMate.CLI.writeln/1

year_day_command(module, opts \\ [])