bchao1 / bullet

🚅 Interactive prompts made simple. Build a prompt like stacking blocks.
https://pypi.org/project/bullet/
MIT License
3.55k stars 113 forks source link

Update pypi repo to include yesNo default value #54

Closed jseguillon closed 4 years ago

jseguillon commented 4 years ago

Current example examples/prompt.py is not working after a pip install bullet

Reason is that pypi is not up to date with the repo. Example works if using bullet from a git clone.

Trace :

> pip install bullet  
> git clone https://github.com/Mckinsey666/bullet.git
> python bullet/examples/prompt.py 

Traceback (most recent call last):
  File "bullet/examples/prompt.py", line 11, in <module>
    word_color = colors.foreground["yellow"]),
TypeError: __init__() got an unexpected keyword argument 'default'
bchao1 commented 4 years ago

The newest version (2.2.0) is now on pypi!