jwodder / qypi

Query PyPI from the command line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests

jayvdb opened this issue · comments

Obligatory ... "this package needs tests" issue.

a simple example to sho how to use all the options would be great. currently I fail on the most basic "--description"

qypi -h --description sqlite-bro
image

@stonebig You did several things wrong. First, --description, like all long options, starts with two hyphens, but you only spelled it with one. Secondly, --description is an option of the info subcommand; you have to write qypi info --description sqlite-bro. Last, giving the -h/--help option causes all other command-line arguments to be ignored (unless it comes after a subcommand name), so you probably want to drop that part.