summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-11Add support for matching against an identifierOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2023-02-11Do not create a menu instance if we want to apply a profileOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2023-02-11Use dataclasses instead of relying on untyped dictsOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2023-02-11Drop use of docopt in favor of argparseOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2023-02-11Raise an exception when profile not foundOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2022-01-04Remove unnecessary semicolonOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-12-23Use automatic size for widgetsOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-12-23Explicitly ignore return code of subprocessOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-12-23Wrap long linesOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-12-23Get rid of global variable dOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-12-23Use in operator instead of successive OROlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-12-23Rename fd -> fh since it's a file handler, not descriptorOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-12-23Reorder inclusion of modulesOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-01-04Add logging level optionOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2020-03-09Allow to have no 'background' configuration keyOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2019-04-11Fix crash when not running in batch modeOlivier Gayot
When invoked without the <profile> specified, the script crashed by throwing an uncaught exception. Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2019-04-01Allow to run in batch mode by specifying the profile IDOlivier Gayot
monitor-menu.py now takes an additional optional argument: <profile>. When specified, the script will attempt to load the configuration of the profile specified. Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2018-11-23Honor the background propertyOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2018-11-23Use list.extend instead of operator +=Olivier Gayot
The difference between list.extend and list.operator+= is that the later creates a new object while the former mutates the original object in place. Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2018-07-04Added basics for the script to runOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2018-07-04Initial commitOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>