Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OutputTemplate = `{{- .Comic }} {{ .FmtID "%03d" -}}{{ with .Year }} ({{ . }}){{ end -}}{{ with .Title }} - {{ . }}){{ end -}}.cbz`
)
Functions ¶
Types ¶
type Config ¶
type Config struct { Format *string `yaml:"format,omitempty"` Comic struct { Name string `yaml:"name"` Sections []struct { Start *int `yaml:"start,omitempty"` End int `yaml:"end"` Year *int `yaml:"year,omitempty"` Title *string `yaml:"title,omitempty"` } `yaml:"sections"` } `yaml:"comic,omitempty"` }
type TPB ¶
func (*TPB) Collect ¶
Collect tales in a list of files and archives them according to the Config and the OutputTemplate.
func (*TPB) ReadConfigBytes ¶
ReadConfigBytes reads a Config from the given byte slice.
func (*TPB) ReadConfigFile ¶
ReadConfigFile reads a Config from the given file.
Click to show internal directories.
Click to hide internal directories.