Skip to content

Commit aa1cfec

Browse files
author
James Brundage
committed
feat: OpenXML Module Scaffolding ( Fixes #1 )
1 parent ffbb683 commit aa1cfec

File tree

2 files changed

+85
-0
lines changed

2 files changed

+85
-0
lines changed

OpenXML.psd1

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
@{
2+
3+
# Script module or binary module file associated with this manifest.
4+
RootModule = 'OpenXML.psm1'
5+
6+
# Version number of this module.
7+
ModuleVersion = '0.1'
8+
9+
# Supported PSEditions
10+
# CompatiblePSEditions = @()
11+
12+
# ID used to uniquely identify this module
13+
GUID = 'ce1bf009-73ae-4293-b57f-a19aaaa793b7'
14+
15+
# Author of this module
16+
Author = 'JamesBrundage'
17+
18+
# Company or vendor of this module
19+
CompanyName = 'Start-Automating'
20+
21+
# Copyright statement for this module
22+
Copyright = '2025 Start-Automating'
23+
24+
TypesToProcess = @('OpenXML.types.ps1xml')
25+
26+
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
27+
FunctionsToExport = '*'
28+
29+
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
30+
CmdletsToExport = '*'
31+
32+
# Variables to export from this module
33+
VariablesToExport = '*'
34+
35+
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
36+
AliasesToExport = '*'
37+
38+
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
39+
PrivateData = @{
40+
41+
PSData = @{
42+
43+
# Tags applied to this module. These help with module discovery in online galleries.
44+
Tags = @('Word','Excel','PowerPoint','OpenXML','Office Open XML','OOXML')
45+
46+
# A URL to the license for this module.
47+
LicenseUri = 'https://github.com/PowerShellWeb/OpenXML/blob/main/LICENSE'
48+
49+
# A URL to the main website for this project.
50+
ProjectUri = 'https://github.com/PowerShellWeb/OpenXML'
51+
52+
# A URL to an icon representing this module.
53+
# IconUri = ''
54+
55+
# ReleaseNotes of this module
56+
# ReleaseNotes = ''
57+
58+
# Prerelease string of this module
59+
# Prerelease = ''
60+
61+
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
62+
# RequireLicenseAcceptance = $false
63+
64+
# External dependent modules of this module
65+
# ExternalModuleDependencies = @()
66+
67+
} # End of PSData hashtable
68+
69+
} # End of PrivateData hashtable
70+
71+
# HelpInfo URI of this module
72+
# HelpInfoURI = ''
73+
74+
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
75+
# DefaultCommandPrefix = ''
76+
77+
}
78+

OpenXML.psm1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
$CommandsPath = Join-Path $PSScriptRoot 'Commands'
2+
foreach ($file in Get-ChildItem -Path $CommandsPath -Filter '*-*.ps1') {
3+
if ($file.Name -like '*.*.ps1') {
4+
continue
5+
}
6+
. $file.FullName
7+
}

0 commit comments

Comments
 (0)