Provided by: calibre_6.3.0+dfsg-2_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 E-book 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 -e myscript.py -- --option1 --option2 file1 file2 ...

       Everything after the -- is passed to the script. You  can  also  use  calibre-debug  as  a
       shebang in scripts, like this:
          #!/usr/bin/env -S calibre-debug -e -- --

       每当向具有它们自己空间的:command:
       `
       calibre-debug`传递参数时,用引号括起这些参数。例如: "/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
              用调试模式启动 calibre "编辑书籍"工具。

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

       --explode-book, -x
              将书解体到指定目录中。 用法: -x file.epub output_dir  将图书导出为HTML文件和元数据
              的集合,您可以使用标准HTML编辑工具对其进行编辑。该用法适用
              于EPUB、AZW3、HTMLZ和DOCX文件。

       --export-all-calibre-data
              导出所有 calibre 数据(书籍/设置/插件)。通常,系统会要求您提供导出文件夹和要导出的
              库。您还可以将它们指定为命令行参数以跳过这些问题。使用导出文件夹和库的绝对路径。特
              殊关键字“all”可用于导出所有库。

       --fix-multiprocessing
              供内部使用

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

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

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

       --implode-book, -i
              聚合以前炸开过的书籍。  用法:-i  output_dir file.epub 从output_dir的文件中导入该图
              书,该文件必须是由之前调用:option:
              `
              --explode-book`创建的。一定要指定与炸开时使用的文件类型相同的文件类型。

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

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

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

       --run-plugin, -r
              Run a plugin that provides a command line interface. For example: calibre-debug  -r
              "Plugin  name"  --  file1  --option1  Everything after the -- will be passed to the
              plugin as arguments.

       --run-test, -t
              Run the named test(s). Use the special value "all" to run all tests.  If  the  test
              name  starts  with  a  period  it  is assumed to be a module name. If the test name
              starts with @ it is assumed to be a category name.

       --run-without-debug
              Don't run with the DEBUG flag set

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

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

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

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

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

AUTHOR

       Kovid Goyal

COPYRIGHT

       Kovid Goyal