A simple CLI tool to clone Git repositories and run setup commands.
npm install -g morty# Clone a repository and run setup commands
morty create my-project --repo https://github.com/user/template.git
# Skip setup commands
morty create my-project --repo https://github.com/user/template.git --skip-setupAdd an optional morty.json file to your repository:
{
"name": "My Template",
"description": "A simple template",
"commands": [
"npm install",
"npm run build"
]
}<project-name>- Name for your new project--repo <url>- Git repository URL (required)--skip-setup- Skip running setup commands--verbose- Show detailed output--quiet- Show only errors
- Clones the repository to a temporary directory
- Copies all files to your project directory (excluding
morty.json) - Runs the commands listed in
morty.json(if present) - Cleans up temporary files
MIT