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
              藉由指定包含外掛代碼的 py 檔案路徑,來加入簡單外掛(即只由一個 .py 檔案組成的外掛)

       --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
              啟動書本編輯工具並進入偵錯模式

       --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
              開啟偵錯模式介面。Debug將輸出至 stdout 與 stderr 。

       --gui-debug
              以偵錯主控台啟動GUI,並將記錄日誌寫入到指定路徑,僅供內部使用,使用  -g選項啟動以偵
              錯主控台啟動GUI。

       --help, -h
              顯示說明訊息並退出

       --implode-book, -i
              聚合以前炸開過的書籍。 用法:-i output_dir file.epub 從 output_dir 的檔案中匯入該圖
              書,該檔案必須是由之前呼叫  --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