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
While running reusable recipes, it is useful to allow the user choose one of their existing files (in the scope of the recipe). This is not currently possible with prompt and choices. It would look perhaps something like this:
prompt: Which file do you want to pick?choose file: ./workflows/**/*
choose file accepts a glob. It can be enhanced to treat paths without any magic elements as folders and list files directly in that path.
Considerations:
What about choosing folders? Should it be an explicit option to say "pick folders not files"?
What about hidden files / paths? I suspect this can be done easily with an include hidden option similar to copy and update.
The text was updated successfully, but these errors were encountered:
While running reusable recipes, it is useful to allow the user choose one of their existing files (in the scope of the recipe). This is not currently possible with
prompt
andchoices
. It would look perhaps something like this:choose file
accepts a glob. It can be enhanced to treat paths without any magic elements as folders and list files directly in that path.Considerations:
include hidden
option similar tocopy
andupdate
.The text was updated successfully, but these errors were encountered: