Skip to content

Commit

Permalink
Merge pull request #307 from StartAutomating/Posh.NET
Browse files Browse the repository at this point in the history
Posh 0.2: Posh.NET
  • Loading branch information
StartAutomating committed Sep 28, 2023
2 parents 00f9fd8 + 93f34e7 commit 946bbe8
Show file tree
Hide file tree
Showing 187 changed files with 6,861 additions and 368 deletions.
6 changes: 2 additions & 4 deletions Build/Posh.PSA.ps1
Expand Up @@ -25,21 +25,19 @@ $isMergeToMain =
$gitHubEvent.ref -eq 'refs/heads/main'

if ($isMergeToMain) {
$psaModule = Get-Module PSA
Import-Module .\Posh.psd1 -Global

$fullMessage = @(
"PowerShell just got a little more Posh",
"The Shell just got a little more sweet",
"PowerShell just got more color in it's cheeks",
"PowerShell just got a bit more pretty" | Get-Random

"Posh $($psaModule.Version) is out!"
"Posh $($posh.Version) is out!"
)

Send-AtProto -Text $fullMessage -WebCard @{
Url = "https://github.com/StartAutomating/Posh"
} -LinkPattern @{
"Posh" = "https://github.com/StartAutomating/Posh"
}

return
Expand Down
2 changes: 1 addition & 1 deletion Build/Posh.ezout.ps1
Expand Up @@ -7,7 +7,7 @@ Push-Location $myRoot
$formatting = @(
# Add your own Write-FormatView here,
# or put them in a Formatting or Views directory
foreach ($potentialDirectory in 'Formatting','Views') {
foreach ($potentialDirectory in 'Formatting','Views','Types') {
Join-Path $myRoot $potentialDirectory |
Get-ChildItem -ea ignore |
Import-FormatView -FilePath {$_.Fullname}
Expand Down
23 changes: 23 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,26 @@
## Posh 0.2: Posh.NET:

Added Posh.Net Psuedotype (#282)

This makes .NET types easier to explore in Posh

For example:

~~~PowerShell
$Posh.NET.Assembly # Get all assemblies
$Posh.NET.Type # Get all types
$Posh.Net.Generic # Get all generic types
$Posh.Net.Attribute # Get all attributes
~~~

For a full list of everything you can do, run:

~~~PowerShell
$Posh.Net | Get-Member
~~~

---

## Posh 0.1.9: Posh Community

* New Blog: Christian Ritter ( thanks @HCRitter ! )
Expand Down

0 comments on commit 946bbe8

Please sign in to comment.