Pipeworks
Pipeworks copied to clipboard
Import-StoredProcedure should be aliased to Import-SProxy and return [ScriptBlock]s
The alias helps for colloquial use. Returning [ScriptBlock]s helps for transpilation.
Do you have an example where Import-StoredProcedure is used? I looked at the example in the Pipeworks-Phoenix branch and it looks like you're creating a script block that defines a Function. How do you import that into a session to execute it?