EvotecIT / Pswritecolor
Licence: mit
Write-Color is a wrapper around Write-Host allowing you to create nice looking scripts, with colorized output.
Stars: ✭ 78
Programming Languages
powershell
5483 projects
Projects that are alternatives of or similar to Pswritecolor
Colore
A powerful C# library for Razer Chroma's SDK
Stars: ✭ 121 (+55.13%)
Mutual labels: wrapper, hacktoberfest
Libfaketime
libfaketime modifies the system time for a single application
Stars: ✭ 1,932 (+2376.92%)
Mutual labels: wrapper, hacktoberfest
Aiovk
vk.com API python wrapper for asyncio
Stars: ✭ 85 (+8.97%)
Mutual labels: wrapper, hacktoberfest
Pokedex Promise V2
An easy way to use pokeapi v2 with promises in node.js
Stars: ✭ 315 (+303.85%)
Mutual labels: wrapper, hacktoberfest
Vue Axios
A small wrapper for integrating axios to Vuejs
Stars: ✭ 1,887 (+2319.23%)
Mutual labels: wrapper, hacktoberfest
Pokeapi Js Wrapper
PokeAPI browser wrapper, fully async with built-in cache
Stars: ✭ 129 (+65.38%)
Mutual labels: wrapper, hacktoberfest
Physx Rs
🎳 Rust binding and wrapper over NVIDIA PhysX 🦀
Stars: ✭ 310 (+297.44%)
Mutual labels: wrapper, hacktoberfest
Canvasapi
Python API wrapper for Instructure's Canvas LMS. Easily manage courses, users, gradebooks, and more.
Stars: ✭ 306 (+292.31%)
Mutual labels: wrapper, hacktoberfest
Imgui Go
Go wrapper library for "Dear ImGui" (https://github.com/ocornut/imgui)
Stars: ✭ 499 (+539.74%)
Mutual labels: wrapper, hacktoberfest
Colorechoforshell
Make 🐚(shell) 's 💬 (`echo`) to be 🌈 easily ✨ Support ✅ sh ➕ bash ➕ zsh ➕ ksh ➕ 🐟
Stars: ✭ 75 (-3.85%)
Mutual labels: hacktoberfest, color
Service Tools
A growing collection of convenient little tools to work with systemd services
Stars: ✭ 78 (+0%)
Mutual labels: hacktoberfest
Gr Elster
A GNU Radio block that decodes packets transmitted by Elster R2S smart meters
Stars: ✭ 78 (+0%)
Mutual labels: hacktoberfest
Opentok Xamarin.forms
Vonage | TokBox | OpenTok: Video/Audio Chat library for Xamarin.Forms
Stars: ✭ 78 (+0%)
Mutual labels: hacktoberfest
PSWriteColor - PowerShell module
Full Description for this project at my Evotec website
Description
Write-Color is a wrapper around Write-Host allowing you to create nice looking scripts, with colorized output.
ChangeLog
- 0.87.2 - 2020.07.20
- [x] Added a space for LogTime and ShowTime
- [x] Signed module
- 0.87.1 - 2020.06.19
- [x] Resolves issue with nuget download (changed version from 0.87 to 0.87.1). As per link it requires version to be longer.
- 0.87.0 - 2020.01.12
- [x] Throw errors when can't save to file with LogFile. Before it would use Write-Output which could deliver unpredictable results
Quick install
Install-Module -Name "PSWriteColor"
Examples
# Example 1
Write-Color "[i] ", "Parameter in configuration of ", "EmailParameters.EmailFrom", " exists." -Color White, White, Green, White -ShowTime
Write-Color "[i] ", "Parameter in configuration of ", "EmailParameters.EmailTo", " exists." -Color White, White, Green, White -ShowTime
# Example 2
Write-Color "[i] ", "I will send email soon...", "Get ready.." -Color White
Write-Color "[i] ", "Sending email...." -Color White, White -NoNewLine
<#
Do Something....
#>
if ($true) {
Write-Color -Text "OK" -Color Green
}
# Example 3
Write-Color -Text "Red ", "Green ", "Yellow " -Color Red, Green, Yellow
Write-Color -Text "This is text in Green ",
"followed by red ",
"and then we have Magenta... ",
"isn't it fun? ",
"Here goes DarkCyan" -Color Green, Red, Magenta, White, DarkCyan
Write-Color -Text "This is text in Green ",
"followed by red ",
"and then we have Magenta... ",
"isn't it fun? ",
"Here goes DarkCyan" -Color Green, Red, Magenta, White, DarkCyan -StartTab 3 -LinesBefore 1 -LinesAfter 1
Write-Color "1. ", "Option 1" -Color Yellow, Green
Write-Color "2. ", "Option 2" -Color Yellow, Green
Write-Color "3. ", "Option 3" -Color Yellow, Green
Write-Color "4. ", "Option 4" -Color Yellow, Green
Write-Color "9. ", "Press 9 to exit" -Color Yellow, Gray -LinesBefore 1
Write-Color -LinesBefore 2 -Text "This little ", "message is ", "written to log ", "file as well." `
-Color Yellow, White, Green, Red, Red -LogFile "C:\testing.txt" -TimeFormat "yyyy-MM-dd HH:mm:ss"
Write-Color -Text "This can get ", "handy if ", "want to display things, and log actions to file ", "at the same time." `
-Color Yellow, White, Green, Red, Red -LogFile "C:\testing.txt"
# Example 4 with backgrund colors and usage of aliases
Write-Color -T "My text", " is ", "all colorful" -C Yellow, Red, Green -B Green, Green, Yellow
Write-Color -T "My text", " is ", "all colorful" -C Yellow, Red, Green -B Red, Green, Green
# Example 5 with aliases
wc -t "my text" -C Red
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].