1
0
Fork 0
mirror of https://gitlab.com/mfocko/LeetCode.git synced 2024-11-09 15:59:06 +01:00
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