The cookiecutter now validates if the entered username is a valid username on GitHub and if not, throws a colourful warning (not an error), as shown below:
author_name [Captain Jupyter]:
github_username [captainjupyter]:
book_name [my-book]:
book_slug [my_book]:
book_short_description [This cookiecutter creates a simple boilerplate for a Jupyter Book.]:
version ['0.1.0']:
Select open_source_license:
1 - MIT license
2 - BSD license
3 - ISC license
4 - Apache Software License 2.0
5 - GNU General Public License v3
Choose from 1, 2, 3, 4, 5 [1]:
Select include_github_actions:
1 - yes
2 - no
Choose from 1, 2 [1]:
===============================================================================
WARNING:
Could not find the user 'captainjupyter' on github.com.
Please check the 'github_username' you entered.
If you are not using github.com you may ignore this warning.
===============================================================================
The cookiecutter now validates if the entered username is a valid username on GitHub and if not, throws a colourful warning (not an error), as shown below:
Closes #3