util
Utility functions for CLI commands.
wrap_exceptions ¶
wrap_exceptions(wrapped, instance, args, kwargs)
Format and log exceptions for cli commands.
Source code in src/somesy/cli/util.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|
resolved_somesy_input ¶
resolved_somesy_input(**cli_args) -> SomesyInput
Return a combined SomesyInput
based on config file and passed CLI args.
Will also adjust log levels accordingly.
Source code in src/somesy/cli/util.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
|