almanac.constants

class CommandLineDefaults[source]

Bases: object

Default values for various command fields.

DOC = '... no documentation ...'
MAX_COMPLETION_WIDTH = 88

Exit code constants.

class ExitCodes(value)[source]

Bases: enum.IntEnum

An enumeration.

ERR_COMMAND_INVALID_ARGUMENTS = 2
ERR_COMMAND_NONEXISTENT = 3
ERR_COMMAND_PARSING = 1
ERR_RUNTIME_EXC = 4
OK = 0