mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
4e67c9bf59
commit
9f08718ac0
@ -296,7 +296,8 @@ class Plugin(object): # {{{
|
|||||||
def cli_main(self, args):
|
def cli_main(self, args):
|
||||||
'''
|
'''
|
||||||
This method is the main entry point for your plugins command line
|
This method is the main entry point for your plugins command line
|
||||||
interface. It is called when the user does: calibre-debug
|
interface. It is called when the user does: calibre-debug -r "Plugin
|
||||||
|
Name". Any arguments passed are present in the args variable.
|
||||||
'''
|
'''
|
||||||
raise NotImplementedError('The %s plugin has no command line interface'
|
raise NotImplementedError('The %s plugin has no command line interface'
|
||||||
%self.name)
|
%self.name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user