Project generator made in Deno.
prot new <name> [template]Requires Deno to be installed.
git clone https://github.com/tortitast/prot.git
cd prot
deno install --allow-env --allow-read --allow-write --allow-run -f main.ts
prot syncAdd this line to your shell .rc file (e.g. ~/.bashrc, ~/.zshrc, ~/.config/fish/config.fish)
export PATH="/Users/vgf/.deno/bin:$PATH"To add a template create a .zip in the following directory with the name of the template and the files inside.
- Windows
%USERPROFILE%\AppData\Roaming\Tortitas\prot\templates- Linux
~/.config/tortitas/prot/templates- Mac
~/Library/Application Support/Tortitas/prot/templates%%name%% will be automatically replaced with the name of the project.