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

Add -Location to Write-PSHTMLInclude #252

Open
Stephanevg opened this issue Jul 20, 2019 · 0 comments
Open

Add -Location to Write-PSHTMLInclude #252

Stephanevg opened this issue Jul 20, 2019 · 0 comments
Labels
enhancement New feature or request HACKTOBERFEST Issues that could be done by the community. These issues should be quick and easy to implement. help wanted Extra attention is needed up-for-grabs
Milestone

Comments

@Stephanevg
Copy link
Owner

In order to be able to filter on Location of the include file, the follwing things needs to be done:

  1. Rename the Class Include to IncludeFile
  2. Rename the Class IncludeFile, to Include
    // The inheritence of the includes has been set in the wrong direction.
  3. Add a property called Location to the (Newly renamed) Include class. This propery can have the following values
  • Module (Includes located in $Moduleroot\Includes\
  • Script (Includes located in $Scriptroot\Includes\
  1. Add a switch bound to a parameterSet in Write-PSHTMLinclude called Location. The dynamic parameters of the function should sort things out, and only display the includes from a particular location if one is specified in the -Location parameter.
@Stephanevg Stephanevg added enhancement New feature or request help wanted Extra attention is needed up-for-grabs labels Jul 20, 2019
@Stephanevg Stephanevg added this to the 0.8.1 milestone Jul 20, 2019
@Stephanevg Stephanevg added the HACKTOBERFEST Issues that could be done by the community. These issues should be quick and easy to implement. label Oct 1, 2019
@Stephanevg Stephanevg modified the milestones: 0.8.1, 0.8.2 Oct 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HACKTOBERFEST Issues that could be done by the community. These issues should be quick and easy to implement. help wanted Extra attention is needed up-for-grabs
Projects
None yet
Development

No branches or pull requests

1 participant