I hereby claim:
- I am xeijin on github.
- I am xeijin (https://keybase.io/xeijin) on keybase.
- I have a public key ASC_NT6vQmfX_V0Nr2Qm9hPvvudukBs9fhhPm9jw_Mmb5go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| (defun +propositum/pwsh-format-list-filter (proc output) | |
| "transform the OUTPUT produced by powershell command PROC into an alist cons'd key-value pairs. | |
| Note: the powershell command should its results through the Format-List cmdlet." | |
| (let ;; split output on newlines to get individual entries | |
| ((entries (s-lines output)) | |
| (result)) | |
| ;; map over each entry, splitting keys from values then transform resulting list into cons'd alist | |
| (mapcar #'map-pairs |