Provided by: calibre_3.21.0+dfsg-1build1_all bug

NAME

       calibre-debug - calibre-debug

          calibre-debug [选项]

       Various  command  line  interfaces  useful  for  debugging  calibre. With no options, this
       command starts an embedded Python interpreter. You can also run the main calibre GUI,  the
       calibre viewer and the calibre editor in debug mode.

       It  also contains interfaces to various bits of calibre that do not have dedicated command
       line tools, such as font subsetting, the e-book diff tool and so on.

       You can also use calibre-debug to run standalone scripts. To do that use it like this:
          calibre-debug myscript.py -- --option1 --option2 file1 file2 ...

       Everything after the -- is passed to the script.

       Whenever you pass arguments to  calibre-debug  that  have  spaces  in  them,  enclose  the
       arguments in quotation marks. For example: "/some path/with spaces"

[选项]

       --add-simple-plugin
              通过指定包含插件代码的文件来添加简单插件(例如,一个python脚本)

       --command, -c
              运行 Python 代码。

       --debug-device-driver, -d
              设备检测调试

       --default-programs
              从    Windows    默认程序注册    /    取消注册   calibre。   --default-programs   =
              (register|unregister)

       --diff 启动Calibre diff工具。例如: calibre-debug --diff file1 file2

       --edit-book, -t
              用调试模式启动 calibre 书籍编辑工具

       --exec-file, -e
              运行文件中的 Python 代码。

       --explode-book, -x
              Explode the book into the  specified  directory.  Usage:  -x  file.epub  output_dir
              Exports  the  book  as  a collection of HTML files and metadata, which you can edit
              using standard HTML editing tools. Works with EPUB, AZW3, HTMLZ and DOCX files.

       --export-all-calibre-data
              导出 calibre 全部数据 (books/settings/plugins)

       --gui, -g
              在调试模式下运行用户界面。调试输出信息打印到 stdout 与 stderr 。

       --gui-debug
              以调试控制台运行用户界面,日志输出到指定路径。仅适用于内部使用,用 -g  参数运行用户
              界面于调试模式。

       --help, -h
              显示此帮助信息并退出

       --implode-book, -i
              Implode a previously exploded book. Usage: -i output_dir file.epub Imports the book
              from the files in output_dir which must have been created by  a  previous  call  to
              --explode-book. Be sure to specify the same file type as was used when exploding.

       --import-calibre-data
              导入现有 calibre 数据

       --inspect-mobi, -m
              查看指定目录的 MOBI 文件

       --paths
              设置 calibre 环境时输出路径是必需的

       --reinitialize-db
              将 calibre 指定路径的 SQLite 数据库重新初始化,这尝尝对于解决数据库冲突有奇效。

       --run-plugin, -r
              提供了一个命令行界面来运行插件。例如:   calibre-debug  -r  "Add  Books"  --  file1
              --option1 -- 之后的一切将被作为参数传递给该插件。

       --shutdown-running-calibre, -s
              本操作会导致正在运行的 calibre 关闭。请注意:如果正在执行某些任务,那么这些任务会被
              强行中断。

       --subset-font, -f
              将指定的字体归为子集。在此选项后使用 -- 来传递选项到字体归类程序。

       --test-build
              测试构建中的二进制模组

       --version
              显示程序版本号并退出

       --viewer, -w
              用调试模式打开电子书阅读器

AUTHOR

       Kovid Goyal

COPYRIGHT

       Kovid Goyal