mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Merge pull request #1353 from mroutis/fix-1184
init: Add a welcome message
This commit is contained in:
+16
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user