https://github.com/tortitast/prot
Project generator made in deno
https://github.com/tortitast/prot
deno
Last synced: about 2 months ago
JSON representation
Project generator made in deno
- Host: GitHub
- URL: https://github.com/tortitast/prot
- Owner: TortitasT
- License: gpl-3.0
- Created: 2022-11-12T20:37:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T15:38:03.000Z (over 3 years ago)
- Last Synced: 2025-05-30T08:38:52.107Z (about 1 year ago)
- Topics: deno
- Language: TypeScript
- Homepage:
- Size: 282 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# prot
Project generator made in Deno.
## Usage
```powershell
prot new [template]
```
## Install
Requires Deno to be installed.
```powershell
git clone https://github.com/tortitast/prot.git
cd prot
deno install --allow-env --allow-read --allow-write --allow-run -f main.ts
prot sync
```
### On mac (maybe on linux too, haven't tried)
Add this line to your shell .rc file (e.g. ~/.bashrc, ~/.zshrc, ~/.config/fish/config.fish)
```bash
export PATH="/Users/vgf/.deno/bin:$PATH"
```
## Templates
To add a template create a .zip in the following directory with the name of the template and the files inside.
- Windows
```powershell
%USERPROFILE%\AppData\Roaming\Tortitas\prot\templates
```
- Linux
```bash
~/.config/tortitas/prot/templates
```
- Mac
```bash
~/Library/Application Support/Tortitas/prot/templates
```
### %%name%%
%%name%% will be automatically replaced with the name of the project.