You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PSProjectStatus.psd1
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
3
3
@{
4
4
RootModule='PSProjectStatus.psm1'
5
-
ModuleVersion='0.12.0'
5
+
ModuleVersion='0.13.0'
6
6
CompatiblePSEditions='Desktop','Core'
7
7
GUID='ec249544-dc4e-4e24-aae8-4281ec84f54d'
8
8
Author='Jeff Hicks'
9
9
CompanyName='JDH Information Technology Solutions, Inc.'
10
-
Copyright='(c) 2022-2023 JDH Information Technology Solutions, Inc. All rights reserved.'
10
+
Copyright='(c) 2022-2024 JDH Information Technology Solutions, Inc. All rights reserved.'
11
11
Description='A set of PowerShell tools for tracking module development status. The module uses a JSON file to create a custom object with information about your module. You can use this internally to track the status of your module including a simple to-do tracker. This module was first described at https://jdhitsolutions.com/blog/powershell/8960/introducing-psprojectstatus/'
#a hash table to store ANSI escape sequences for different commands used in verbose output with the
298
+
#private _verbose helper function
299
+
$PSProjectANSI=@{
300
+
'Get-PSProjectGitStatus'='[1;38;5;51m'
301
+
'Get-PSProjectReport'='[1;38;5;111m'
302
+
'Get-PSProjectStatus'='[1;96m'
303
+
'Get-PSProjectTask'='[1;38;5;10m'
304
+
'New-PSProjectStatus'='[1;38;5;208m'
305
+
'New-PSProjectTask'='[1;38;5;159m'
306
+
'Remove-PSProjectTask'='[1;38;5;195m'
307
+
'Set-PSProjectStatus'='[1;38;5;214m'
308
+
Default='[1;38;5;51m'
309
+
}
310
+
Set-Variable-Name PSProjectANSI -Description "a hash table to store ANSI escape sequences for different commands used in verbose output. You can modify settings using ANSI sequences or `$PSStyle"
311
+
292
312
#Export the module version to a global variable that will be used in Verbose messages
293
-
New-Variable-Name PSProjectStatusModule -Value "0.12.0"-Description "The PSProjectStatus module version used in verbose messaging."
These changes only persist for the duration of your PowerShell session or until you re-import the module. Use your profile script to import the module and update the variable.
Presumably you are using git to manage your project. If so, some git-related information is included in the PSProjectStatus output. Get-PSProjectGitStatus is intended to provide more git-specific details. You should run this command in the root of your project directory. If the project is not a git repository, nothing will be returned.
22
+
Presumably you are using git to manage your project. If so, some git-related information is included in the PSProjectStatus output. Get-PSProjectGitStatus is intended to provide more git-specific details. You should run this command in the root of your project directory. If the project is not git initialized, nothing will be returned.
The PSProjectStatus module makes an assumption that the majority of your projects are organized under a parent folder like C:\Scripts. This command is designed to make it easier to identify and manage projects you are working on. The default behavior is to get PSProject information from the top-level folders in your root directory. But you can also filter on statusor age.
36
+
The PSProjectStatus module makes an assumption that the majority of your projects are organized under a parent folder like C:\Scripts. This command is designed to make it easier to identify and manage projects you are working on. The default behavior is to get PSProject information from the top-level folders in your root directory. But you can also filter on status, age, or tag.
37
37
38
38
## EXAMPLES
39
39
@@ -70,10 +70,10 @@ Get PSProjects modified within the last 10 days.
0 commit comments