i want to make a tool in bash that does the following
tool <repository-urls...>
- create dir in cwd "name" if it already exists do nothing and throw
- git init the dir
- npm init -y the dir
- provide the script n number of repositories as arguments
- for each repository url add them as submodules in "packages"
- add packages/* to npm workspaces
- create a vscode workspace file in "name" dir that has n projects for each repo dir in packages (and an extra one called "root"
- run npm install at the root level