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

Invoke-Strippy the module #17

Open
cavejay opened this issue Nov 27, 2017 · 2 comments
Open

Invoke-Strippy the module #17

cavejay opened this issue Nov 27, 2017 · 2 comments
Milestone

Comments

@cavejay
Copy link
Owner

cavejay commented Nov 27, 2017

At the moment using the script is great and works how I want it to but it's frustrating having to find the script file and sting everything together using absolute paths. I end up copying script to the parent folder of the file/folder I want to sanitise and that's an annoying step to have to take every time I want to sanitise something.

I realise that while this can't be added to the PATH like an executable could, is there some other way that I can make it globally reachable? I suppose the strippy.exe release is a step in the right direction.

What about using powershell profiles?

@cavejay cavejay assigned cavejay and unassigned cavejay Nov 27, 2017
@cavejay cavejay added this to the 2.1 milestone Dec 5, 2017
@cavejay
Copy link
Owner Author

cavejay commented Apr 8, 2018

This could be resolved by letting Strippy be a module.

This would require a wrapping function of some sort in a file with .psm1 extension. The function exposed through the module could be something like Invoke-Strippy <args>

@cavejay cavejay changed the title how can I easily access strippy? Invoke-Strippy the module Apr 8, 2018
@cavejay
Copy link
Owner Author

cavejay commented Apr 8, 2018

This issue is now to cover the last comment. Moving to a module or some form of importable solution is the best and least hacky solution for this.

@cavejay cavejay modified the milestones: 2.1, 3.0 Apr 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant