/cliHelper.Core

A collections of essential PowerShell functions to improve devx

Primary LanguagePowerShellDo What The F*ck You Want To Public LicenseWTFPL

icon

cliHelper.core

A collections of essential PowerShell functions that stonks up your terminal game


Build on Windows Build on MacOS Build on Linux PowerShell Gallery

Usage

Install-Module cliHelper.core

then

Import-Module cliHelper.core

$art = Create-CliArt "https://pastebin.com/raw/p29UR385" -Taglines "Build. Ship. Repeat."; $art.Replace("x.y.z", "0.3.0");
$art.Write(15, $false, $true)

$RequestParams = @{
  Uri    = 'https://jsonplaceholder.typicode.com/todos/1'
  Method = 'GET'
}
$result = [ProgressUtil]::WaitJob("Making a request", { Param($rp) Start-Sleep -Seconds 2; Invoke-RestMethod @rp }, $RequestParams) | Receive-Job
echo $result

license

This project is licensed under the WTFPL License.

thank you!

👍 ✨ Special thanks goes to:
- @fleschutz for the mega collection of scripts!
- @franklesniak for lots of inspiring ideas!
- @StartAutomating for publishing modules like wtx and ugit.