Skip to content

Instantly share code, notes, and snippets.

@aldrichtr
Created May 20, 2024 20:51
Show Gist options
  • Save aldrichtr/eff0013acd696207b0d1b1cf6eb60210 to your computer and use it in GitHub Desktop.
Save aldrichtr/eff0013acd696207b0d1b1cf6eb60210 to your computer and use it in GitHub Desktop.
Succinct organized PowerShell Manifest layout
# I really like the way this is laid out
# https://github.com/aldrichtr/poco/blob/master/src/ps1/poco.psd1
@{
## Module Info
ModuleVersion = '1.2.0'
Description = "Interactive filtering command based on peco"
GUID = 'fcdcab47-0505-4ba8-b845-538effc1d88e'
# HelpInfoURI = ''
## Module Components
RootModule = @("poco.psm1")
ScriptsToProcess = @()
TypesToProcess = @()
FormatsToProcess = @()
FileList = @()
## Public Interface
CmdletsToExport = ''
FunctionsToExport = @("Select-Poco")
VariablesToExport = @()
AliasesToExport = @("poco")
# DscResourcesToExport = @()
# DefaultCommandPrefix = ''
## Requirements
# CompatiblePSEditions = @()
PowerShellVersion = '2.0'
# PowerShellHostName = ''
# PowerShellHostVersion = ''
RequiredModules = @()
RequiredAssemblies = @()
ProcessorArchitecture = 'None'
DotNetFrameworkVersion = '3.5'
CLRVersion = '3.5'
## Author
Author = 'yumura'
CompanyName = ''
Copyright = ''
## Private Data
PrivateData = @{
PSData = @{
# Tags applied to this module. These help with module discovery in online galleries.
Tags = @("productivity","filter","pipeline")
# A URL to the license for this module.
# LicenseUri = ''
# A URL to the main website for this project.
ProjectUri = 'https://github.com/jasonmarcher/poco'
# A URL to an icon representing this module.
# IconUri = ''
# ReleaseNotes of this module
ReleaseNotes = @"
## 2019-07-19 - Version 1.2.0 - Jason Archer
Features:
- Added about_poco help topic
## 2018-07-19 - Version 1.1.0 - Jason Archer
Features:
- Improved performance and responsiveness
- Faster code
- Batch processing of key presses
- Only filter object list when necessary
- Filter object list with LINQ
## 2016-02-19 - Version 1.0.0 - yumura
A peco implementation in PowerShell
"@
} # End of PSData hashtable
} # End of PrivateData hashtable
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment