jurassiscripts / velociraptor

The npm-style script runner for Deno

Home Page:https://velociraptor.run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Initialize command

umbopepato opened this issue · comments

From the Project scaffolder proposal.

Details

Name: initialize
Alias: init
Arguments:

$ vr init <specifier> # Where specifier = [registry:]<package>[@version]

Action

The command should try to resolve a remote vr configuration file from the given specifier and (if present) execute the init command in such file.

Security considerations

Since the user would have no control over the permissions given to any Deno module executed by the script, a confirmation prompt that shows the command that's about to be executed might be appropriate.