port every console applications to ReplApplication
This commit is contained in:
parent
81706f23ad
commit
37a53b783a
17 changed files with 460 additions and 369 deletions
|
|
@ -1,6 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
# Copyright(C) 2010 Christophe Benz, Romain Bignon
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -55,7 +54,7 @@ class Videoob(ReplApplication):
|
|||
for backend, video in self.do('get_video', _id, backends=backend_names):
|
||||
self.format(video)
|
||||
self.flush()
|
||||
|
||||
|
||||
def do_nsfw(self, line):
|
||||
"""
|
||||
nsfw [on | off]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue