Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* deprecation warning * Update message and CLI call * Add to readme as well
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
def deprecation_warning(): | ||
print(""" | ||
============================================================================= | ||
*** DEPRECATION WARNING *** | ||
Cookiecutter data science is moving to v2 soon, which will entail using | ||
the command `ccds ...` rather than `cookiecutter ...`. The cookiecutter command | ||
will continue to work, and this version of the template will still be available. | ||
To use the legacy template, you will need to explicitly use `-c v1` to select it. | ||
Please update any scripts/automation you have to append the `-c v1` option, | ||
which is available now. | ||
For example: | ||
cookiecutter -c v1 https://github.com/drivendata/cookiecutter-data-science | ||
============================================================================= | ||
""") | ||
|
||
|
||
deprecation_warning() |