Skip to content

Commit 946bbe8

Browse files
Merge pull request #307 from StartAutomating/Posh.NET
Posh 0.2: Posh.NET
2 parents 00f9fd8 + 93f34e7 commit 946bbe8

File tree

187 files changed

+6861
-368
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+6861
-368
lines changed

Build/Posh.PSA.ps1

+2-4
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,19 @@ $isMergeToMain =
2525
$gitHubEvent.ref -eq 'refs/heads/main'
2626

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

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

36-
"Posh $($psaModule.Version) is out!"
36+
"Posh $($posh.Version) is out!"
3737
)
3838

3939
Send-AtProto -Text $fullMessage -WebCard @{
4040
Url = "https://github.com/StartAutomating/Posh"
41-
} -LinkPattern @{
42-
"Posh" = "https://github.com/StartAutomating/Posh"
4341
}
4442

4543
return

Build/Posh.ezout.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Push-Location $myRoot
77
$formatting = @(
88
# Add your own Write-FormatView here,
99
# or put them in a Formatting or Views directory
10-
foreach ($potentialDirectory in 'Formatting','Views') {
10+
foreach ($potentialDirectory in 'Formatting','Views','Types') {
1111
Join-Path $myRoot $potentialDirectory |
1212
Get-ChildItem -ea ignore |
1313
Import-FormatView -FilePath {$_.Fullname}

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
## Posh 0.2: Posh.NET:
2+
3+
Added Posh.Net Psuedotype (#282)
4+
5+
This makes .NET types easier to explore in Posh
6+
7+
For example:
8+
9+
~~~PowerShell
10+
$Posh.NET.Assembly # Get all assemblies
11+
$Posh.NET.Type # Get all types
12+
$Posh.Net.Generic # Get all generic types
13+
$Posh.Net.Attribute # Get all attributes
14+
~~~
15+
16+
For a full list of everything you can do, run:
17+
18+
~~~PowerShell
19+
$Posh.Net | Get-Member
20+
~~~
21+
22+
---
23+
124
## Posh 0.1.9: Posh Community
225

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

0 commit comments

Comments
 (0)