mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-08-10 22:41:51 +02:00
add efibootmgr parser (#528)
* More nsd fixes (#523) * Update nsd_control.py support catz output * Update nsd_control.py fix parsing of catz zones * add testdata add corresponding catz testdata * Revert "More nsd fixes" (#526) * add efibootmgr parser * add efibootmgr completions * Multiple fixes on jc/parsers/efibootmgr.py 1. Update schema in comments. 1. Add an example. 1. Use clean and clear sub string finding sytax. 1. Wrap schema in an object. 1. Make variable scope as small as possible. * add tests for efibootmgr * Update jc/parsers/efibootmgr.py Update example using `--pretty` for output. Co-authored-by: Muescha <184316+muescha@users.noreply.github.com> * jc/parsers/efibootmgr multiple changes 1. convert all keys to "snake_case" 2. add "mirrored_percentage_above_4g" and "mirror_memory_below_4gb" 3. move conversion (from string to other types) to "_process" --------- Co-authored-by: pettai <pettai@sunet.se> Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com> Co-authored-by: Muescha <184316+muescha@users.noreply.github.com>
This commit is contained in:
committed by
Kelly Brazil
parent
5b849b0275
commit
5ee2eda83e
@@ -29,6 +29,7 @@ _jc() {
|
||||
'dmidecode:run "dmidecode" command with magic syntax.'
|
||||
'dpkg:run "dpkg" command with magic syntax.'
|
||||
'du:run "du" command with magic syntax.'
|
||||
'efibootmgr:run "efibootmgr" command with magic syntax.'
|
||||
'env:run "env" command with magic syntax.'
|
||||
'file:run "file" command with magic syntax.'
|
||||
'findmnt:run "findmnt" command with magic syntax.'
|
||||
@@ -148,6 +149,7 @@ _jc() {
|
||||
'--dmidecode:`dmidecode` command parser'
|
||||
'--dpkg-l:`dpkg -l` command parser'
|
||||
'--du:`du` command parser'
|
||||
'--efibootmgr:`efibootmgr` command parser'
|
||||
'--email-address:Email Address string parser'
|
||||
'--env:`env` command parser'
|
||||
'--file:`file` command parser'
|
||||
|
Reference in New Issue
Block a user