calibre-debug - calibre-debug
캘리버를
디버깅하는데 유용한
다양한 명령행
인터페이스. 옵션 없이
사용되면, 이 명령은
내장 Python 인터프리터를
시작합니다. 또한,
캘리버의 주 GUI, 캘리버
뷰어, 캘리버 편집기를
디버그 모드로 실행할
수 있습니다.
또한, 캘리버의
여러 부분 중 전용
명령행 도구이
존재하지 않는 곳에
대한 인터페이스도
포함하고 있습니다.
(예를 들어, font subsetting 도구, eBook
diff 도구, 등...)
그리고, standalone
스크립트를 실행하기
위해 :command:
`
calibre-debug`를 사용할 수
있습니다. 다음과 같이
사용하십시오.:
calibre-debug myscript.py -- --option1
--option2 file1 file2 ...
-- 뒤에 나타나는
모든 것들은
스크립트로
전달됩니다.
Whenever you pass arguments to calibre-debug that have
spaces in them, enclose the arguments in quotation marks. For example:
"/some path/with spaces"
- --default-programs
- 캘리버를 Windows 기본
프로그램에 등록/제거
합니다. --default-programs =
(register|unregister)
- --diff
- 캘리버의 diff 도구를
실행합니다. 예: calibre-debug
--diff 파일1 파일2
- --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
- Export all calibre data (books/settings/plugins). Normally, you will be
asked for the export dir and the libraries to export. You can also specify
them as command line arguments to skip the questions. Use absolute paths
for the export directory and libraries. The special keyword
"all" can be used to export all libraries.
- --gui, -g
- 디버깅이 활성화된
상태로 GUI를
실행합니다. 디버그
출력은 stdout과 stderr로
프린트됩니다.
- --gui-debug
- 지정되 경로에 로그를
남기며, GUI를 디버그
콘솔과 함께
실행합니다. 내부
용도 한정으로,
디버그 모드로 GUI를
띄우려면 -g 옵션을
사용하세요.
- --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.
- --paths
- 캘리버 환경을
설정하는데 필요한
경로들을
출력합니다.
- --run-plugin, -r
- 명령행 인터페이스를
제공하는 플러그인을
실행합니다. 예: calibre-debug -r
"Add Books" -- 파일
--option1 -- 뒤의 모든
것은 플러그인에
인수로 전달됩니다.
- --subset-font,
-f
- 지정된 글꼴에서 실제
사용된 문자만
취합니다. Font subsetting
프로그램에 옵션을
전달하려면 이 옵션
다음에 -- 를
사용하세요.