Skip to content

Scripts should be able to call other scripts in the library that are run before the script itself #9

@AdamNaj

Description

@AdamNaj

It's not just experimenting any more - I'm building script libraries with common functionalities and functions, so I want to use those without having to paste them before every script I run.
An example would be a function that formats errors with full stack trace adding "Resolve-Error" function I want to be able to call this function in my scripts so I want my "Resolve-Error" script be run before them so I can make use of them. Kind of like "using" in C#.

I need a way of doing it either from the script or from the script configuration.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions