mirror of
https://gitlab.com/mfocko/LeetCode.git
synced 2024-09-07 20:16:57 +02:00
chore: add script for new files
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
1946a11978
commit
2ba0b3930a
1 changed files with 11 additions and 0 deletions
11
add-problem.sh
Executable file
11
add-problem.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
TYPE=$1
|
||||
NAME=$2
|
||||
SUFFIX=$3
|
||||
|
||||
echo "Type: $TYPE"
|
||||
echo "Name: $NAME"
|
||||
echo "Suffix: $SUFFIX"
|
||||
|
||||
$EDITOR $TYPE/$NAME.$SUFFIX
|
Loading…
Reference in a new issue