Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templatize module and manifest files #2

Open
MAKLs opened this issue Dec 21, 2018 · 0 comments
Open

Templatize module and manifest files #2

MAKLs opened this issue Dec 21, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@MAKLs
Copy link
Owner

MAKLs commented Dec 21, 2018

Current Behavior

Whenever a new tool category is created, the tool belt creates tool_category.psm1 and tool_category.psd1 under pwsh-tool-belt/tool_category to prime the tool category.

However, these module and manifest files are empty, leaving the user to build them out.

Desired Behavior

Instead of priming a new tool category directory with empty module and manifest files, these files should be created from a template for ease of use.

At the very least, the tool category's manifest should be created with:

New-ModuleManifest [@manifestParams]

so that the manifest contains all of the possible fields for the user to fill.

Additionally, since module files in the tool belt should enforce the public/private exporting pattern, module files could be generated from a template and the user can edit as necessary. Possible storage locations:

  • As a script file in resources in the tool belt module root
  • In-line in a script file in the tool belt module's private
  • In-line in the Add-ToolCategory cmdlet
@MAKLs MAKLs added the enhancement New feature or request label Dec 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant