-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Is your feature request related to a problem? Please describe.
There are many different ways a project / workers could be stored. Currently, we are allowing only local resources by pointing wws to a system folder:
wws ./my-folder
However, this restriction introduces an extra step of downloading and configuring the project in the environment. wws can identify the resources based on the path, extension and protocol, and prepare the environment on behalf of the user.
Describe the solution you'd like
All the examples require you to clone / download workers. Ideally, the demos must be available in a single command:
wws https://github.com/vmware-labs/wasm-workers-server.git
wws must detect the resource and prepare the environment based on it. For this initial implementation, it will detect links that ends as .git to process them as git repositories. I would like to set other specific configurations related to git like:
--git-folder--git-branch--git-rev
Describe alternatives you've considered
The current alternative is to ask you to clone the repo in advance. We want to avoid this and simplify the process.