1
0
Fork 0
mirror of https://gitlab.com/mfocko/LeetCode.git synced 2024-11-14 01:49:41 +01:00
LeetCode/add-problem.sh

12 lines
130 B
Bash
Raw Normal View History

#!/bin/bash
TYPE=$1
NAME=$2
SUFFIX=$3
echo "Type: $TYPE"
echo "Name: $NAME"
echo "Suffix: $SUFFIX"
$EDITOR $TYPE/$NAME.$SUFFIX