LeetCode/add-problem.sh
Matej Focko 2ba0b3930a
chore: add script for new files
Signed-off-by: Matej Focko <mfocko@redhat.com>
2022-01-12 20:09:25 +01:00

11 lines
130 B
Bash
Executable file

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