[extensions] Add new CLI: Windows' PowerShell

This commit is contained in:
Faisal Salman
2025-12-15 21:10:00 +07:00
parent 68f8684d09
commit 7fcf3f0ac4
3 changed files with 23 additions and 2 deletions

View File

@@ -41,8 +41,8 @@ const normalizeEmailName = function (str) {
const CLIs = Object.freeze({
browser : [
// wget / curl / Lynx / ELinks / HTTPie
[/(wget|curl|lynx|elinks|httpie)[\/ ]\(?([\w\.-]+)/i], [NAME, VERSION, [TYPE, CLI]]
// wget / curl / Lynx / ELinks / HTTPie / PowerShell
[/(wget|curl|lynx|elinks|httpie|powershell)[\/ ]\(?([\w\.-]+)/i], [NAME, VERSION, [TYPE, CLI]]
]
});