aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* little modernization of snakeoil.cliArthur Zamarin2022-12-301-1/+1
* Reformat w/ black 22.12.0 for consistency.Brian Harring2022-12-251-25/+38
* sort imports with isortTim Harder2021-03-281-3/+3
* cli.tool: use logging exception handler when emitting recordsTim Harder2020-12-201-0/+2
* contexts: drop nullcontext since we're >=py38 nowTim Harder2020-12-141-3/+3
* cli.tool: explicitly handle UserExceptions when parsing argsTim Harder2020-11-181-23/+27
* cli.tool: drop unused variableTim Harder2020-11-181-2/+1
* drop unnecessary object class inheritance for py3Tim Harder2020-01-311-1/+1
* drop explicit demandloaded modules to straight importsTim Harder2019-08-221-6/+2
* remove license/copyright file headersTim Harder2019-08-181-3/+0
* convert some %s and .format() usage to f-stringsTim Harder2019-07-291-2/+2
* cli.tool: fix conditionals for setting the output stream to a sane defaultTim Harder2019-07-201-3/+3
* cli.tool: suppress warning level log output and below in quiet modeTim Harder2019-07-191-2/+2
* cli.tool: suppress warning level log output and below in regular modeTim Harder2019-07-171-2/+11
* cli.tool: only enable line buffering if stdout hasn't been resetTim Harder2019-07-161-2/+3
* cli.tool: handle_exec_exception(): handle exceptions that override initTim Harder2019-02-251-1/+2
* cli.tool: handle_exec_exception(): add support for internal verbosity overridesTim Harder2019-02-241-3/+7
* cli.tool: handle_exec_exception(): fix newline handling for verbose error outputTim Harder2019-02-241-2/+2
* cli.tool: handle_exec_exception(): output verbose error if it existsTim Harder2019-02-241-0/+6
* cli.exceptions: rename CliException to UserExceptionTim Harder2019-02-021-5/+5
* cli.exceptions: add find_cli_exception() for external useTim Harder2019-02-011-7/+4
* cli.tool: handle_exec_exception(): short circuit handling when debuggingTim Harder2019-01-191-2/+4
* tool: output ExitException strings using error formatterTim Harder2019-01-191-0/+3
* cli: add custom exit exceptionTim Harder2019-01-191-3/+11
* tool: add generic handling for cli error outputTim Harder2019-01-191-5/+7
* cli.tool: simplify traceback dumping for unhandled exceptionsTim Harder2019-01-181-3/+2
* cli.tool: add support for outputting clean cli errorsTim Harder2019-01-181-0/+4
* cli.tool: Tool: add pre_parse() and post_parse() methodsTim Harder2019-01-131-3/+7
* cli.tool: Tool: add set_options() hook for child classes to alter optionsTim Harder2019-01-061-0/+5
* cli.tool: fallback to default verbosity if attr doesn't existTim Harder2019-01-051-2/+2
* cli.tool: add parsed verbosity attr to output formattersTim Harder2019-01-051-0/+4
* tool: Tool.main(): flush stderr/stdout before handling custom exceptionsTim Harder2018-11-031-0/+2
* use relative imports for internal modulesTim Harder2018-04-111-2/+2
* remove unsupported py2 and deprecated py3 code and fallbacksTim Harder2018-04-111-15/+8
* cli.tool: use line buffering if redirecting or piping stdoutTim Harder2017-11-241-1/+5
* cli.tool: Tool: extract main func in the parse_args() methodTim Harder2017-09-291-6/+6
* move snakeoil module into src subdirTim Harder2017-09-231-0/+179