AoC.CLI (aoc v0.15.0)

View Source

Summary

Functions

color(arg1, arg2)

See CliMate.CLI.color/2.

compile()

custom_defaults()

debug(arg1)

See 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)

See CliMate.CLI.error/1.

format_usage(arg1)

See CliMate.CLI.format_usage/1.

format_usage(arg1, arg2)

See CliMate.CLI.format_usage/2.

halt()

See CliMate.CLI.halt/0.

halt(arg1)

See CliMate.CLI.halt/1.

halt_error(arg1)

See CliMate.CLI.halt_error/1.

halt_error(arg1, arg2)

See CliMate.CLI.halt_error/2.

halt_success(arg1)

See CliMate.CLI.halt_success/1.

init_env()

parse(arg1, arg2)

See CliMate.CLI.parse/2.

parse_or_halt!(arg1, arg2)

See CliMate.CLI.parse_or_halt!/2.

part_command(module, opts \\ [])

put_shell(arg1)

See CliMate.CLI.put_shell/1.

shell()

See CliMate.CLI.shell/0.

success(arg1)

See CliMate.CLI.success/1.

validate_options!(options)

warn(arg1)

See CliMate.CLI.warn/1.

write_defaults(defaults)

writeln(arg1)

See CliMate.CLI.writeln/1.

year_day_command(module, opts \\ [])