BBVA / apicheck

The DevSecOps toolset for REST APIs
https://bbva.github.io/apicheck/
Apache License 2.0
270 stars 65 forks source link

at-manage doesn't work as documented #19

Open nilp0inter opened 5 years ago

nilp0inter commented 5 years ago

Following the documentation I can't produce a new tool:

nil at xan in ~/Project/apicheck/apicheck/apicheck/tools (master) (apicheck-srmIl9AW) 
$ at-manage create-tool replay
usage: at-manage create-tool [-h] --dest DEST name
at-manage create-tool: error: the following arguments are required: --dest/-d

nil at xan in ~/Project/apicheck/apicheck/apicheck/tools (master) (apicheck-srmIl9AW) 
$ at-manage create-tool -d replay replay
usage: at-manage [-h] -C DB_CONNECTION_STRING
                 [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
                 {api,create-tool,definition} ...
at-manage: error: the following arguments are required: -C/--connection-string

nil at xan in ~/Project/apicheck/apicheck/apicheck/tools (master) (apicheck-srmIl9AW) 
$ at-manage -C sqlite:///lala create-tool -d replay replay
Traceback (most recent call last):
  File "/home/nil/.local/share/virtualenvs/apicheck-srmIl9AW/bin/at-manage", line 11, in <module>
    load_entry_point('apicheck', 'console_scripts', 'at-manage')()
  File "/home/nil/Project/apicheck/apicheck/apicheck/tools/manage/cli.py", line 71, in cli
    running_config = config(**cli_config)
TypeError: run() got an unexpected keyword argument 'db_connection_string'