hedyhli / starcli

:sparkles: Browse trending GitHub projects from your command line
https://pypi.org/project/starcli/
MIT License
550 stars 50 forks source link

Bug: TypeError: cli() got an unexpected keyword argument 'topic' #72

Closed jSadoski closed 4 years ago

jSadoski commented 4 years ago

Description

Running starcli returned this error, as --topics was renamed but not changed in the cli() parameters.

Python version

$ python --version
Python 3.7.0

your operating system (and terminal type of needed)

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.15.5
BuildVersion:   19F101
$ bash --version
GNU bash, version 5.0.18(1)-release (x86_64-apple-darwin19.5.0)

starcli version

57ae9cd

any suggestions to the cause of the problem? (if possible)

Rename/refactor cli(.. topics, ...) --> cli(.. topic, ...)

hedyhli commented 4 years ago

Thanks, I forgot to change that when I renamed the option. It seems CLI tests are really important 😅