init: Add a welcome message

Close #1184
This commit is contained in:
Mr. Outis
2018-11-19 23:09:51 -06:00
parent 119579af0f
commit 02e589a25c
+16 -1
View File
@@ -78,6 +78,7 @@ class Project(object):
Raises:
KeyError: Raises an exception.
"""
import colorama
import shutil
from dvc.scm import SCM, Base
from dvc.config import Config
@@ -105,7 +106,21 @@ class Project(object):
if scm.ignore_file():
scm.add([os.path.join(dvc_dir, scm.ignore_file())])
Logger.info('You can now commit the changes to git.')
Logger.info('\nYou can now commit the changes to git.')
Logger.info(
"\n"
"{yellow}What's next?{nc}\n"
"{yellow}------------{nc}\n"
"- Check out the documentation: {blue}https://dvc.org/doc{nc}\n"
"- Get help and share ideas: {blue}https://dvc.org/chat{nc}\n"
"- Star us on GitHub: {blue}https://github.com/iterative/dvc{nc}"
.format(yellow=colorama.Fore.YELLOW,
blue=colorama.Fore.BLUE,
green=colorama.Fore.GREEN,
nc=colorama.Fore.RESET)
)
return proj