Merge pull request #8 from jaehyeonpy/new/git-init-no-git

feat : Replace 'init' with 'git init' which is a common mistake beginners makes
This commit is contained in:
jaehyeonpy 2023-07-10 14:43:33 +09:00 committed by GitHub
commit 5f1b4b697b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,11 @@
def match(command):
return (
command.script == "init"
)
def get_new_command(command):
return (command.script.replace("init","git init",1))