display available commands in ConsoleApplication's --help
This commit is contained in:
parent
ccf4303cc0
commit
40a118283f
2 changed files with 11 additions and 3 deletions
|
|
@ -31,11 +31,11 @@ class Videoob(ConsoleApplication):
|
|||
self.load_modules(ICapVideoProvider)
|
||||
return self.process_command(*argv[1:])
|
||||
|
||||
@ConsoleApplication.command('Get video information')
|
||||
def command_info(self, _id):
|
||||
@ConsoleApplication.command('Get video information (accept ID or URL)')
|
||||
def command_info(self, id):
|
||||
results = {}
|
||||
for backend in self.weboob.iter_backends():
|
||||
video = backend.get_video(_id)
|
||||
video = backend.get_video(id)
|
||||
if video is None:
|
||||
continue
|
||||
rows = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue