You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would really appreciate it if I could allow my contributors to create new function (and files) using plaster.
environment
In a repo for a Powershell module:
Have a plaster template which prompts the user for:
Type of the resource : public function? Private function? Test file? A.s.o.
Name : of the function and/or file
Have a file that contains the workspace template definition (relative path to template and output)
Have plaster use that file so it doesn't require further parameters
possible solution
Have a file in the root of the module that contains a file (like composer or npm) with the config of for plaster.
File could be named .plaster.
File could contain a json object which can be mapped onto psboundparameters.
If this file is not in the current workingdir, normal behavior applies
result
If $pwd.path contains a config file user could use the workspace's template by:
Activity