Skip to content

Instantly share code, notes, and snippets.

@degensean
degensean / init-ts-project.sh
Last active April 28, 2024 09:12
Initialize a Typescript project using yarn with git
#!/bin/bash
# Usage: ./init-ts-project.sh my-new-project
PROJECT_NAME=$1
# Check if a project name was provided
if [ -z "$PROJECT_NAME" ]; then
echo "Error: No project name provided."
echo "Usage: ./init-ts-project.sh my-new-project"