Scroll to navigation

CALIBRE-DEBUG(1) calibre CALIBRE-DEBUG(1)

NAME

calibre-debug - calibre-debug

calibre-debug [options]


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 -- --


スペースを含む引数を calibre-debug に渡す場合には、クォーテーションマークでくくってください。例: "/some path/with spaces"

[オプション]

プラグインのコードを含むpyファイルのpathを指定し、単純なプラグイン(単一の.pyファイルのみで構成されるプラグイン)を追加

Pythonコードを実行

デバイス認識をデバッグ

Windows の既定のプログラムに登録/登録解除 --default-programs = (register|unregister)

差分ツールを実行。例: calibre-debug --diff file1 file2

書籍編集ツールをデバッグモードで起動

ファイル中のPythonコードを実行

指定されたディレクトリに本を分解。 使用例: -x file.epub output_dir 本をHTMLファイルと書誌のまとまりとしてエクスポートし、標準的なHTML編集ツールで編集できるようにします。EPUB, AZW3, HTMLZ, DOCX に利用可能です。

すべてのデータ(本・設定・プラグイン)をエクスポート。通常は、エクスポート先のディレクトリとエクスポートするライブラリを指定する必要があります。コマンドラインから指定することにより、聞かれなくすることも可能です。ディレクトリとライブラリは絶対パスで指定してください。「all」と指定するとすべてのライブラリをエクスポートします。


GUIをデバッグモードで実行。デバッグの出力はstdoutとstderrに出力されます。

デバッグコンソールでGUIを実行し、指定されたpathにログを記録。内部での使用に限定し、GUIをデバッグモードで実行するには -g オプションを使用してください。

このヘルプメッセージを表示して終了

分解された本を連結。 使用例: -i output_dir file.epub :option:
`
--explode-book`により分割されたファイルの置かれた output_dir を読み込んで連結し、本にします。必ず分割したときと同じファイルタイプを指定してください。

以前エクスポートしたデータをインポート

指定されたパスのMOBIファイルを検査

calibreの環境設定に必要なpathを出力

コマンドラインインタフェースを提供するプラグインを実行。例: calibre-debug -r "Plugin name" -- file1 --option1 -- 以降にあるものは、すべてプラグインに引数として渡されます。

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.

Don't run with the DEBUG flag set

実行中のcalibreをシャットダウン。注意: ジョブが動作中であっても警告なしに終了するため、注意して実行してください。

指定されたフォントをサブセット化。このオプションの後に "--" をつけるとフォント・サブセットプログラムにオプションを渡します。

ビルド中にバイナリーモジュールをテスト

プログラムのバージョン番号を表示して終了

電子書籍ビューアをデバッグモードで実行

AUTHOR

Kovid Goyal

COPYRIGHT

Kovid Goyal

8月 12, 2022 6.3.0