Skip to main content

springheel.command_line module

springheel.command_line.caddimg()

Create a .meta file for a new strip.

Requires Pillow. All parameters are command-line arguments to be passed to springheel-addimg.

Parameters
inputstr

Relative path to the image file in input/. Short: “-i”.

confstr

Filename of the .conf file for the strip’s category. Short: “-c”.

titlestr

The title of the strip. Short: “-t”.

numstr

The strip’s page number. Short: “-n”.

chapterstr, optional

The chapter number if a strip is part of a chapter. “False” if it is not. Short: “-k” (for “Kapitel”, as C and H were already taken).

altstr, optional

Extra text that displays below the strip. Despite the name, is not really used as alt text. A more accessible version of the title text some comics have. Short: “-a”.

sourcestr, optional

If not empty, the URL of an original work on which this strip is based. For translations, freely-licensed comics, etc. Short: “-s”.

jsonstr, optional

If present, indicates that output should be saved as JSON. Short: “-j”.

commentarystr

The strip’s creator commentary.

springheel.command_line.cbuild()

Generate a Springheel site.

Run with --logging to enable logging to springheel.log.

springheel.command_line.cinit()

Initialize a Springheel project.

springheel.command_line.cversion()

Print version information.